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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 119 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 189.2 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 207.6 MB / 231.8 MB, free: 4.012 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002914/0.002914, allocations: 47.92 kB / 342.3 MB, free: 10.15 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1091, allocations: 49.12 MB / 391.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01505/0.1242, allocations: 11.03 MB / 402.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008129/0.1323, allocations: 3.218 MB / 405.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.1349, allocations: 35.88 kB / 405.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.137, allocations: 0.6949 MB / 406.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.1411, allocations: 0.9077 MB / 407.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.1439, allocations: 0.9285 MB / 408.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006448/0.1503, allocations: 3.455 MB / 411.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.152, allocations: 0.6054 MB / 412.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.1547, allocations: 1.296 MB / 413.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.1576, allocations: 1.533 MB / 415.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.1587, allocations: 352 kB / 415.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.1601, allocations: 380 kB / 415.8 MB, free: 324 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.1613, allocations: 0.7126 MB / 416.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.1639, allocations: 1.477 MB / 418 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.1691, allocations: 4.277 MB / 422.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1691, allocations: 0 / 422.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1691, allocations: 3.938 kB / 422.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.918e-05/0.1692, allocations: 0 / 422.3 MB, free: 9.82 MB / 350.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.008114/0.1774, allocations: 3.198 MB / 425.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1774, allocations: 8.031 kB / 425.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003968/0.1778, allocations: 295.5 kB / 425.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/0.1783, allocations: 307 kB / 426.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.1813, allocations: 1.42 MB / 427.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.1814, allocations: 156.5 kB / 427.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/0.1817, allocations: 207.9 kB / 427.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.1857, allocations: 1.889 MB / 429.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/0.1857, allocations: 8 kB / 429.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.1859, allocations: 80 kB / 429.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.186, allocations: 55.98 kB / 429.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.1902, allocations: 1.914 MB / 431.8 MB, free: 96 kB / 350.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.01578/0.206, allocations: 7.392 MB / 439.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004404/0.2104, allocations: 2.141 MB / 441.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.2134, allocations: 1.288 MB / 442.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.2136, allocations: 45.95 kB / 442.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.2137, allocations: 60.55 kB / 442.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 4.418e-06/0.2137, allocations: 4 kB / 442.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.06898/0.2826, allocations: 17.58 MB / 460.3 MB, free: 3.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.2827, allocations: 94.11 kB / 460.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.2863, allocations: 1.836 MB / 462.2 MB, free: 1.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004968/0.2868, allocations: 81.7 kB / 462.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009275/0.2877, allocations: 1.003 MB / 463.3 MB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1952/0.483, allocations: 1.213 MB / 464.5 MB, free: 62.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.4841, allocations: 0.4924 MB / 465 MB, free: 62.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.4842, allocations: 306.2 kB / 465.3 MB, free: 62.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/0.487, allocations: 1.214 MB / 466.5 MB, free: 62.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.4897, allocations: 1.528 MB / 468 MB, free: 61.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.4947, allocations: 2.882 MB / 470.9 MB, free: 60.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.4948, allocations: 1.25 kB / 470.9 MB, free: 60.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01064/0.5054, allocations: 4.412 MB / 475.3 MB, free: 58.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.5054, allocations: 15.22 kB / 475.3 MB, free: 58.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.5055, allocations: 3.938 kB / 475.4 MB, free: 58.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005518/0.511, allocations: 1.329 MB / 476.7 MB, free: 57.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/0.5138, allocations: 0.5264 MB / 477.2 MB, free: 57.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/0.537, allocations: 20.6 MB / 497.8 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/0.5401, allocations: 111 kB / 497.9 MB, free: 41.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/0.5406, allocations: 106.8 kB / 498 MB, free: 41.71 MB / 382.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.001684/0.5423, allocations: 0.582 MB / 498.6 MB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000824/0.5431, allocations: 266.3 kB / 498.9 MB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009843/0.553, allocations: 4.358 MB / 0.4914 GB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.553, allocations: 32 kB / 0.4915 GB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.553, allocations: 5.969 kB / 0.4915 GB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/0.5531, allocations: 19.45 kB / 0.4915 GB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.5684, allocations: 8.331 MB / 0.4996 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.5684, allocations: 3.281 kB / 0.4996 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/0.5708, allocations: 459.6 kB / 0.5001 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.5757, allocations: 1.266 MB / 0.5013 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000483/0.5761, allocations: 67.98 kB / 0.5014 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/0.5964, allocations: 19.2 MB / 0.5201 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5964, allocations: 8 kB / 0.5201 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.6094, allocations: 6.073 MB / 0.526 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.6113, allocations: 0.6241 MB / 0.5267 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007306/0.612, allocations: 63.98 kB / 0.5267 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/0.6142, allocations: 107.9 kB / 0.5268 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007867/0.6149, allocations: 258.7 kB / 0.5271 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/0.6152, allocations: 91.98 kB / 0.5272 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002324/0.6175, allocations: 1.29 MB / 0.5284 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6175, allocations: 0 / 0.5284 GB, free: 13.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003469/0.621, allocations: 0.8676 MB / 0.5293 GB, free: 12.71 MB / 398.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.01653/0.6375, allocations: 6.965 MB / 0.5361 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009879/0.6474, allocations: 4.281 MB / 0.5402 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6474, allocations: 0 / 0.5402 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006123/0.6536, allocations: 2.86 MB / 0.543 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.6566, allocations: 389.5 kB / 0.5434 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05495/0.7115, allocations: 23.46 MB / 0.5663 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.7135, allocations: 1.71 MB / 0.568 GB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001945/0.7155, allocations: 292.1 kB / 0.5683 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/0.7173, allocations: 1.042 MB / 0.5693 GB, free: 2.922 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7173, allocations: 4 kB / 0.5693 GB, free: 2.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3632/1.08, allocations: 76.68 MB / 0.6442 GB, free: 161.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/21.67, allocations: 5.906 kB / 0.6442 GB, free: 161.6 MB / 494.1 MB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.473856936674565]