Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009856/0.0009856, allocations: 90.19 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.024e-06/7.074e-06, allocations: 0 / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 51.47 MB / 394.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4682, allocations: 89.21 MB / 483.8 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4685, allocations: 85.2 kB / 483.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09812/0.5666, allocations: 36.32 MB / 0.508 GB, free: 5.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.872e-05/0.5667, allocations: 20 kB / 0.5081 GB, free: 5.227 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003235/0.57, allocations: 1.17 MB / 0.5092 GB, free: 4.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.57, allocations: 14.75 kB / 0.5092 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/0.5708, allocations: 146.6 kB / 0.5094 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.5721, allocations: 0.6056 MB / 0.5099 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.5723, allocations: 53.98 kB / 0.51 GB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.5725, allocations: 56 kB / 0.5101 GB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/0.5742, allocations: 0.7264 MB / 0.5108 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.5759, allocations: 0.8058 MB / 0.5116 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.5759, allocations: 15.78 kB / 0.5116 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.576, allocations: 0 / 0.5116 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.5761, allocations: 20 kB / 0.5116 GB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.5818, allocations: 3.399 MB / 0.5149 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.5826, allocations: 497.4 kB / 0.5154 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.5833, allocations: 428.5 kB / 0.5158 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.5834, allocations: 20.48 kB / 0.5158 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5834, allocations: 43.06 kB / 0.5158 GB, free: 13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 2.404e-06/0.5834, allocations: 0 / 0.5158 GB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.007387/0.5908, allocations: 3.65 MB / 0.5194 GB, free: 9.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5909, allocations: 90.2 kB / 0.5195 GB, free: 9.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.5915, allocations: 466.1 kB / 0.5199 GB, free: 8.598 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.5916, allocations: 25.7 kB / 0.52 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5918, allocations: 344.3 kB / 0.5203 GB, free: 8.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/0.5922, allocations: 429.5 kB / 0.5207 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.5922, allocations: 2.438 kB / 0.5207 GB, free: 7.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5924, allocations: 394.7 kB / 0.5211 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.593, allocations: 354.5 kB / 0.5214 GB, free: 7.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.5937, allocations: 478 kB / 0.5219 GB, free: 6.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.5944, allocations: 393.9 kB / 0.5223 GB, free: 6.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5945, allocations: 3.938 kB / 0.5223 GB, free: 6.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001968/0.5964, allocations: 1.111 MB / 0.5233 GB, free: 5.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5965, allocations: 4 kB / 0.5233 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5965, allocations: 4 kB / 0.5234 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.5969, allocations: 142.7 kB / 0.5235 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.5982, allocations: 291.6 kB / 0.5238 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.6023, allocations: 4.54 MB / 0.5282 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6034, allocations: 68 kB / 0.5283 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.6036, allocations: 47.92 kB / 0.5283 GB, free: 15.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.6039, allocations: 127.6 kB / 0.5284 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.6042, allocations: 90.97 kB / 0.5285 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.6057, allocations: 0.7046 MB / 0.5292 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6057, allocations: 20 kB / 0.5292 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.6057, allocations: 0 / 0.5292 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.6057, allocations: 11.97 kB / 0.5292 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.6104, allocations: 2.73 MB / 0.5319 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6104, allocations: 4 kB / 0.5319 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.6116, allocations: 256 kB / 0.5322 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.612, allocations: 130.5 kB / 0.5323 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/0.6122, allocations: 17.3 kB / 0.5323 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.6156, allocations: 4.165 MB / 0.5364 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6156, allocations: 7.906 kB / 0.5364 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002837/0.6184, allocations: 1.853 MB / 0.5382 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.6188, allocations: 168 kB / 0.5383 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.619, allocations: 4 kB / 0.5383 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/0.6199, allocations: 63.94 kB / 0.5384 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6201, allocations: 80.45 kB / 0.5385 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.6202, allocations: 35.98 kB / 0.5385 GB, free: 4.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005235/0.6207, allocations: 355 kB / 0.5389 GB, free: 4.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001208/0.6219, allocations: 227.9 kB / 0.5391 GB, free: 3.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002969/0.6222, allocations: 145.4 kB / 0.5392 GB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.6246, allocations: 1.264 MB / 0.5404 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6246, allocations: 4 kB / 0.5404 GB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6258, allocations: 0.8451 MB / 0.5413 GB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.6268, allocations: 126 kB / 0.5414 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.6309, allocations: 1.745 MB / 0.5431 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.6321, allocations: 1.159 MB / 0.5442 GB, free: 14.53 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6321, allocations: 0 / 0.5442 GB, free: 14.53 MB / 426.7 MB Notification: Performance of Templates: time 0.02733/0.6595, allocations: 12.8 MB / 0.5567 GB, free: 1.832 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches