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.0008001/0.0008004, allocations: 95.98 kB / 17.3 MB, free: 6.391 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.0007929/0.0007929, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.424/1.424, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004337/0.0004337, allocations: 12 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09518, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01094/0.1062, allocations: 10.32 MB / 339.3 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.1126, allocations: 3.149 MB / 342.4 MB, free: 6.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.1142, allocations: 39.88 kB / 342.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.1154, allocations: 0.5833 MB / 343.1 MB, free: 5.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.1177, allocations: 0.7725 MB / 343.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.1193, allocations: 0.8234 MB / 344.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.123, allocations: 3.201 MB / 347.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.1242, allocations: 0.7688 MB / 348.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.126, allocations: 1.042 MB / 349.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.1275, allocations: 1.311 MB / 351 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.1278, allocations: 140 kB / 351.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.1282, allocations: 168 kB / 351.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.1287, allocations: 0.5016 MB / 351.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.1301, allocations: 1.28 MB / 353.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.1335, allocations: 3.97 MB / 357 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1335, allocations: 0 / 357 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1335, allocations: 0 / 357 MB, free: 7.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.462e-05/0.1336, allocations: 0 / 357 MB, free: 7.547 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.006502/0.1401, allocations: 2.706 MB / 359.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1402, allocations: 8.031 kB / 359.7 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005341/0.1407, allocations: 293.4 kB / 360 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.1432, allocations: 1.391 MB / 361.4 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.1433, allocations: 160.5 kB / 361.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.1436, allocations: 204.1 kB / 361.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004012/0.1477, allocations: 1.92 MB / 363.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.644e-05/0.1478, allocations: 7.906 kB / 363.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.148, allocations: 84 kB / 363.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.148, allocations: 55.94 kB / 363.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.1527, allocations: 1.968 MB / 365.8 MB, free: 14.56 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.01407/0.1668, allocations: 7.492 MB / 373.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.1707, allocations: 2.293 MB / 375.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.1734, allocations: 1.382 MB / 377 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.1735, allocations: 45.89 kB / 377 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1736, allocations: 56.56 kB / 377.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 5.771e-06/0.1736, allocations: 0 / 377.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2216/0.3952, allocations: 17.92 MB / 395 MB, free: 45.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3953, allocations: 89.27 kB / 395.1 MB, free: 45.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.3974, allocations: 1.84 MB / 396.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.3978, allocations: 86.52 kB / 397 MB, free: 44.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.3983, allocations: 0.9731 MB / 398 MB, free: 43.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008023/0.3991, allocations: 1.154 MB / 399.1 MB, free: 42.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.3994, allocations: 250 kB / 399.4 MB, free: 42.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.3995, allocations: 308.8 kB / 399.7 MB, free: 42.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.4017, allocations: 1.246 MB / 400.9 MB, free: 41.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.404, allocations: 1.549 MB / 402.5 MB, free: 40.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/0.4085, allocations: 2.933 MB / 405.4 MB, free: 37.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.4085, allocations: 0 / 405.4 MB, free: 37.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009143/0.4176, allocations: 4.5 MB / 409.9 MB, free: 33.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4177, allocations: 15.94 kB / 409.9 MB, free: 33.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.4177, allocations: 7.984 kB / 409.9 MB, free: 33.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004938/0.4227, allocations: 1.328 MB / 411.3 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.4253, allocations: 0.5422 MB / 411.8 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/0.4454, allocations: 18.9 MB / 430.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.4481, allocations: 127.9 kB / 430.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.4483, allocations: 108 kB / 430.9 MB, free: 11.34 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.001144/0.4495, allocations: 0.5677 MB / 431.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/0.4499, allocations: 256.9 kB / 431.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00911/0.459, allocations: 4.456 MB / 436.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.4591, allocations: 39.94 kB / 436.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4591, allocations: 0 / 436.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.4591, allocations: 15.94 kB / 436.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.4739, allocations: 8.473 MB / 444.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.4739, allocations: 3.984 kB / 444.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/0.4765, allocations: 475.6 kB / 445.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/0.4818, allocations: 1.263 MB / 446.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000384/0.4822, allocations: 71.91 kB / 446.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/0.505, allocations: 17.53 MB / 464.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5051, allocations: 4 kB / 464.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.5192, allocations: 6.177 MB / 470.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.5207, allocations: 0.6187 MB / 470.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.5211, allocations: 60.09 kB / 470.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/0.523, allocations: 136 kB / 471.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006235/0.5236, allocations: 250.8 kB / 471.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.5238, allocations: 87.92 kB / 471.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001719/0.5255, allocations: 1.293 MB / 472.7 MB, free: 368 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5256, allocations: 0 / 472.7 MB, free: 368 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002899/0.5285, allocations: 0.8661 MB / 473.5 MB, free: 15.49 MB / 366.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.001051/0.5295, allocations: 459 kB / 474 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007864/0.5374, allocations: 4.487 MB / 478.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.5374, allocations: 0 / 478.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005078/0.5425, allocations: 2.991 MB / 481.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.5452, allocations: 365.8 kB / 481.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5556, allocations: 6.969 MB / 488.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.557, allocations: 1.71 MB / 490.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001956/0.5589, allocations: 292.1 kB / 490.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/0.5596, allocations: 151.4 kB / 490.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5596, allocations: 0 / 490.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.2515/0.8111, allocations: 49.06 MB / 0.5273 GB, free: 130 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