Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 108.1 kB / 17.15 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 52.34 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1012, allocations: 46.64 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01204/0.1133, allocations: 10.89 MB / 337.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008103/0.1215, allocations: 3.172 MB / 340.7 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.1237, allocations: 39.88 kB / 340.7 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1251, allocations: 0.5794 MB / 341.3 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.1277, allocations: 0.7764 MB / 342.1 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.1295, allocations: 0.8273 MB / 342.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.1329, allocations: 3.197 MB / 346.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.134, allocations: 0.7727 MB / 346.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1355, allocations: 1.097 MB / 348 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.1369, allocations: 1.385 MB / 349.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.1372, allocations: 168 kB / 349.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.1376, allocations: 188 kB / 349.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004476/0.1381, allocations: 0.5484 MB / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1392, allocations: 1.298 MB / 351.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.1422, allocations: 4.072 MB / 355.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1422, allocations: 8 kB / 355.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1422, allocations: 0 / 355.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.381e-05/0.1423, allocations: 0 / 355.6 MB, free: 7.723 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007036/0.1493, allocations: 3.111 MB / 358.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1494, allocations: 16.03 kB / 358.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.1499, allocations: 285.5 kB / 359 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.1523, allocations: 1.399 MB / 360.4 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.1524, allocations: 156.5 kB / 360.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.1527, allocations: 212 kB / 360.8 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.1565, allocations: 1.885 MB / 362.7 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.1566, allocations: 4 kB / 362.7 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.1568, allocations: 84 kB / 362.8 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.1568, allocations: 48 kB / 362.8 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.1608, allocations: 1.906 MB / 364.7 MB, free: 14.43 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.1743, allocations: 7.445 MB / 372.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/0.1779, allocations: 2.274 MB / 374.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.1806, allocations: 1.374 MB / 375.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.1807, allocations: 33.97 kB / 375.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.1808, allocations: 68.48 kB / 375.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 3.958e-06/0.1808, allocations: 0 / 375.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2217/0.4025, allocations: 17.56 MB / 393.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4026, allocations: 84.67 kB / 393.5 MB, free: 46.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.405, allocations: 1.851 MB / 395.4 MB, free: 45.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004036/0.4054, allocations: 85.48 kB / 395.5 MB, free: 45.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.4059, allocations: 0.9736 MB / 396.5 MB, free: 44.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007306/0.4067, allocations: 1.157 MB / 397.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007353/0.4074, allocations: 0.4983 MB / 398.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.4075, allocations: 305.1 kB / 398.4 MB, free: 43.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.4096, allocations: 1.214 MB / 399.6 MB, free: 42.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.4118, allocations: 1.53 MB / 401.1 MB, free: 41.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.4162, allocations: 2.883 MB / 404 MB, free: 38.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.4162, allocations: 0 / 404 MB, free: 38.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009048/0.4253, allocations: 4.439 MB / 408.5 MB, free: 34.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.4253, allocations: 7.938 kB / 408.5 MB, free: 34.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4254, allocations: 8 kB / 408.5 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/0.4304, allocations: 1.331 MB / 409.8 MB, free: 33.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.4331, allocations: 0.5227 MB / 410.3 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.4532, allocations: 18.88 MB / 429.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.4561, allocations: 107.9 kB / 429.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.4566, allocations: 108 kB / 429.4 MB, free: 12.53 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.458, allocations: 0.5755 MB / 430 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005806/0.4586, allocations: 252.9 kB / 430.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008855/0.4675, allocations: 4.395 MB / 434.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.4675, allocations: 35.94 kB / 434.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4676, allocations: 11.94 kB / 434.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-05/0.4676, allocations: 21.38 kB / 434.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.4849, allocations: 8.398 MB / 443.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.4849, allocations: 4 kB / 443.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/0.4876, allocations: 459.6 kB / 443.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005589/0.4932, allocations: 1.255 MB / 444.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005557/0.4938, allocations: 71.98 kB / 444.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02375/0.5176, allocations: 17.49 MB / 462.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5176, allocations: 4 kB / 462.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.5322, allocations: 6.099 MB / 468.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.5336, allocations: 0.6149 MB / 469.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005773/0.5342, allocations: 60 kB / 469.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.5363, allocations: 111.9 kB / 469.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007212/0.5371, allocations: 254.8 kB / 469.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/0.5373, allocations: 87.98 kB / 469.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.5392, allocations: 1.293 MB / 470.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5392, allocations: 0 / 470.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003061/0.5423, allocations: 0.8672 MB / 471.8 MB, free: 0.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.5433, allocations: 446 kB / 472.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007922/0.5512, allocations: 4.432 MB / 476.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.5513, allocations: 5.125 kB / 476.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00476/0.556, allocations: 2.966 MB / 479.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5584, allocations: 361.8 kB / 480 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.5698, allocations: 6.791 MB / 486.8 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.5714, allocations: 1.71 MB / 488.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001947/0.5734, allocations: 284.1 kB / 488.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/0.574, allocations: 155.4 kB / 488.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.574, allocations: 0 / 488.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of Templates: time 0.2236/0.7976, allocations: 49.83 MB / 0.5261 GB, free: 131.8 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches