Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002411, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.563/2.563, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001153, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09742, allocations: 47.58 MB / 374.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00896/0.1064, allocations: 5.113 MB / 379.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005535/0.112, allocations: 2.075 MB / 381.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.1133, allocations: 19.94 kB / 381.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.1145, allocations: 294.6 kB / 382 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.1167, allocations: 490.6 kB / 382.5 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1182, allocations: 263.6 kB / 382.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.1209, allocations: 0.94 MB / 383.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009148/0.1219, allocations: 378.1 kB / 384.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.123, allocations: 462.3 kB / 384.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.1243, allocations: 0.5291 MB / 385.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.1246, allocations: 63.94 kB / 385.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.1251, allocations: 72 kB / 385.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.1254, allocations: 219.1 kB / 385.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.1258, allocations: 253.1 kB / 385.7 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.1281, allocations: 1.515 MB / 387.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1282, allocations: 0 / 387.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1282, allocations: 0 / 387.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.188e-05/0.1283, allocations: 4 kB / 387.2 MB, free: 2.738 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005275/0.1336, allocations: 1.391 MB / 388.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1336, allocations: 8.031 kB / 388.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.1341, allocations: 130.5 kB / 388.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.1361, allocations: 0.6687 MB / 389.4 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.1364, allocations: 81.98 kB / 389.5 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.1367, allocations: 99.91 kB / 389.6 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2574/0.3941, allocations: 1.022 MB / 390.6 MB, free: 19.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.3942, allocations: 1.656 kB / 390.6 MB, free: 19.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.3944, allocations: 39.05 kB / 390.6 MB, free: 19.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.3944, allocations: 28.31 kB / 390.6 MB, free: 19.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.3984, allocations: 0.9473 MB / 391.6 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.4085, allocations: 3.681 MB / 395.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/0.4165, allocations: 1.096 MB / 396.4 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.4167, allocations: 11.42 kB / 396.4 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.4168, allocations: 42.84 kB / 396.4 MB, free: 17.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 6.402e-06/0.4168, allocations: 0 / 396.4 MB, free: 17.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.009579/0.4264, allocations: 1.979 MB / 398.4 MB, free: 16.28 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4265, allocations: 83.55 kB / 398.5 MB, free: 16.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.4287, allocations: 0.97 MB / 399.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.4289, allocations: 40.05 kB / 399.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.4293, allocations: 0.529 MB / 400 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.4296, allocations: 231.5 kB / 400.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.4297, allocations: 19.47 kB / 400.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4298, allocations: 348.9 kB / 400.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.4317, allocations: 380.8 kB / 401 MB, free: 14.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.4337, allocations: 0.5528 MB / 401.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.4357, allocations: 423.9 kB / 401.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4357, allocations: 2.469 kB / 401.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004217/0.4399, allocations: 1.031 MB / 403 MB, free: 13.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.44, allocations: 8.312 kB / 403 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.44, allocations: 5.281 kB / 403 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.4401, allocations: 10.31 kB / 403 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/0.4427, allocations: 320.8 kB / 403.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/0.4428, allocations: 15.25 kB / 403.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.4445, allocations: 92.61 kB / 403.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4447, allocations: 35.19 kB / 403.5 MB, free: 13.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006859/0.4454, allocations: 286.7 kB / 403.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4456, allocations: 98.56 kB / 403.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.4474, allocations: 426.6 kB / 404.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.4474, allocations: 7.531 kB / 404.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.4474, allocations: 0 / 404.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4475, allocations: 8.469 kB / 404.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.4541, allocations: 2.339 MB / 406.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.4541, allocations: 10.19 kB / 406.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.456, allocations: 234.8 kB / 406.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/0.456, allocations: 11 kB / 406.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.4561, allocations: 28.14 kB / 406.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.4561, allocations: 17.31 kB / 406.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.4561, allocations: 10.81 kB / 406.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.4597, allocations: 1.398 MB / 408.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.4605, allocations: 189.9 kB / 408.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.4609, allocations: 18.16 kB / 408.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.4632, allocations: 63.42 kB / 408.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.4636, allocations: 72.28 kB / 408.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/0.4638, allocations: 29.36 kB / 408.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002619/0.4665, allocations: 0.6735 MB / 409.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.4665, allocations: 1.375 kB / 409.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002654/0.4692, allocations: 208.8 kB / 409.5 MB, free: 9.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/0.4713, allocations: 390.6 kB / 409.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4752, allocations: 0.809 MB / 410.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.4753, allocations: 3.5 kB / 410.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.4768, allocations: 386 kB / 411.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.4785, allocations: 175.4 kB / 411.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.4833, allocations: 2.299 MB / 413.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.484, allocations: 1.04 MB / 414.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.4846, allocations: 86.03 kB / 414.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4846, allocations: 0 / 414.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Templates: time 0.3695/0.8541, allocations: 12.55 MB / 427.3 MB, free: 9.691 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches