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.001222/0.001222, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001197/0.001198, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.41/1.41, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001207/0.001207, allocations: 43.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1183, allocations: 46.63 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.2248/0.3432, allocations: 10.99 MB / 386.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.3498, allocations: 3.21 MB / 389.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.3518, allocations: 38.59 kB / 389.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.3533, allocations: 0.6876 MB / 390.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.3558, allocations: 0.8825 MB / 390.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.3579, allocations: 0.9249 MB / 391.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004221/0.3621, allocations: 3.461 MB / 395.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.3634, allocations: 0.8888 MB / 396.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.3656, allocations: 1.288 MB / 397.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.3684, allocations: 1.509 MB / 399 MB, free: 240 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007754/0.3692, allocations: 351 kB / 399.4 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3702, allocations: 377.1 kB / 399.7 MB, free: 232 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.3709, allocations: 0.7176 MB / 400.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.3726, allocations: 1.474 MB / 401.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005388/0.378, allocations: 4.277 MB / 406.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3781, allocations: 0 / 406.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3781, allocations: 0 / 406.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.3782, allocations: 1.125 kB / 406.2 MB, free: 11.87 MB / 334.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.00863/0.3869, allocations: 3.2 MB / 409.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3869, allocations: 9.688 kB / 409.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.3877, allocations: 310.1 kB / 409.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.3908, allocations: 1.425 MB / 411.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.391, allocations: 161.3 kB / 411.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.3913, allocations: 209.8 kB / 411.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/0.3956, allocations: 1.889 MB / 413.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.668e-05/0.3957, allocations: 5.312 kB / 413.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.3959, allocations: 89.09 kB / 413.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.396, allocations: 50.34 kB / 413.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/0.4006, allocations: 1.909 MB / 415.4 MB, free: 6.012 MB / 334.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.01408/0.4147, allocations: 7.383 MB / 422.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.4184, allocations: 2.289 MB / 425.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.4212, allocations: 1.417 MB / 426.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.4214, allocations: 37.97 kB / 426.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.4214, allocations: 56.55 kB / 426.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.298e-06/0.4214, allocations: 0 / 426.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.05954/0.481, allocations: 17.63 MB / 444.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.4811, allocations: 90.16 kB / 444.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.4837, allocations: 1.84 MB / 446.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003017/0.484, allocations: 81.7 kB / 446.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000725/0.4847, allocations: 0.9948 MB / 447.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009357/0.4856, allocations: 1.22 MB / 448.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009296/0.4866, allocations: 0.4917 MB / 449 MB, free: 5.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4867, allocations: 305.1 kB / 449.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/0.4893, allocations: 1.221 MB / 450.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.4921, allocations: 1.533 MB / 452 MB, free: 1.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.4976, allocations: 2.874 MB / 454.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4976, allocations: 0 / 454.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01049/0.5081, allocations: 4.468 MB / 459.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.5082, allocations: 4 kB / 459.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5082, allocations: 4 kB / 459.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005359/0.5136, allocations: 1.33 MB / 460.7 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.5164, allocations: 0.5227 MB / 461.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/0.5434, allocations: 20.62 MB / 481.8 MB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.5463, allocations: 103.9 kB / 481.9 MB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/0.5467, allocations: 112 kB / 482 MB, free: 2.758 MB / 398.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.001217/0.5479, allocations: 0.5716 MB / 482.6 MB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.5484, allocations: 266.3 kB / 482.9 MB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.5585, allocations: 4.4 MB / 487.3 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.5585, allocations: 36 kB / 487.3 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.5585, allocations: 3.938 kB / 487.3 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/0.5586, allocations: 24.06 kB / 487.3 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.5745, allocations: 8.37 MB / 495.7 MB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.5746, allocations: 8 kB / 495.7 MB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/0.5771, allocations: 459.6 kB / 496.2 MB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005146/0.5822, allocations: 1.255 MB / 497.4 MB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004773/0.5827, allocations: 63.98 kB / 497.5 MB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/0.6068, allocations: 19.21 MB / 0.5046 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6068, allocations: 3.938 kB / 0.5046 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.6203, allocations: 6.118 MB / 0.5106 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/0.622, allocations: 0.6241 MB / 0.5112 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/0.6224, allocations: 63.95 kB / 0.5112 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.6242, allocations: 115.9 kB / 0.5113 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000691/0.6249, allocations: 250.7 kB / 0.5116 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.6251, allocations: 92.06 kB / 0.5117 GB, free: 7.461 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.6269, allocations: 1.293 MB / 0.5129 GB, free: 6.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6269, allocations: 0 / 0.5129 GB, free: 6.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002878/0.6298, allocations: 0.871 MB / 0.5138 GB, free: 5.305 MB / 446.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.001001/0.6308, allocations: 449.1 kB / 0.5142 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007779/0.6386, allocations: 4.453 MB / 0.5186 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6386, allocations: 1.125 kB / 0.5186 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004706/0.6433, allocations: 2.999 MB / 0.5215 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.6454, allocations: 393.5 kB / 0.5219 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.6555, allocations: 5.673 MB / 0.5274 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.6569, allocations: 1.702 MB / 0.5291 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001723/0.6587, allocations: 292.1 kB / 0.5293 GB, free: 5.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.6593, allocations: 159.4 kB / 0.5295 GB, free: 4.871 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6593, allocations: 3.938 kB / 0.5295 GB, free: 4.867 MB / 462.1 MB Notification: Performance of Templates: time 0.3088/0.9681, allocations: 53.21 MB / 0.5815 GB, free: 140.4 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches