Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 179.1 kB / 17.36 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007344/0.0007345, allocations: 90.55 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002371, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.008107/0.2064, allocations: 9.661 MB / 386.3 MB, free: 38.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.2122, allocations: 3.203 MB / 389.5 MB, free: 35.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.2141, allocations: 37.62 kB / 389.5 MB, free: 35.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.2156, allocations: 0.5858 MB / 390.1 MB, free: 34.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.2183, allocations: 0.777 MB / 390.9 MB, free: 34.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.22, allocations: 0.8234 MB / 391.7 MB, free: 33.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.223, allocations: 3.206 MB / 394.9 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.224, allocations: 0.7572 MB / 395.7 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.2255, allocations: 1.039 MB / 396.7 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.2269, allocations: 1.314 MB / 398 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.2272, allocations: 140 kB / 398.1 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.2276, allocations: 167.9 kB / 398.3 MB, free: 26.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.228, allocations: 0.49 MB / 398.8 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.229, allocations: 1.276 MB / 400.1 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.2315, allocations: 3.981 MB / 404.1 MB, free: 20.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2315, allocations: 3.938 kB / 404.1 MB, free: 20.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2315, allocations: 0 / 404.1 MB, free: 20.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.993e-05/0.2316, allocations: 0 / 404.1 MB, free: 20.89 MB / 298.7 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.006392/0.238, allocations: 2.7 MB / 406.8 MB, free: 18.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.238, allocations: 16.02 kB / 406.8 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.2385, allocations: 297.4 kB / 407.1 MB, free: 17.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.2404, allocations: 1.376 MB / 408.4 MB, free: 16.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.201e-05/0.2405, allocations: 156.5 kB / 408.6 MB, free: 16.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.2407, allocations: 220 kB / 408.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.2439, allocations: 1.897 MB / 410.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/0.244, allocations: 15.83 kB / 410.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.2441, allocations: 87.94 kB / 410.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.2442, allocations: 48 kB / 410.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.2477, allocations: 1.961 MB / 412.8 MB, free: 11.93 MB / 298.7 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.009925/0.2576, allocations: 7.488 MB / 420.3 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.2605, allocations: 2.281 MB / 422.6 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.2627, allocations: 1.378 MB / 424 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.2628, allocations: 37.97 kB / 424 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2629, allocations: 72.48 kB / 424.1 MB, free: 348 kB / 298.7 MB Notification: Performance of pre-optimization done (n=234): time 4.107e-06/0.2629, allocations: 0 / 424.1 MB, free: 348 kB / 298.7 MB Notification: Performance of matching and sorting (n=351): time 0.05946/0.3223, allocations: 17.87 MB / 441.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3224, allocations: 90.17 kB / 442 MB, free: 14.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.3248, allocations: 1.828 MB / 443.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/0.3251, allocations: 81.7 kB / 443.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007227/0.3258, allocations: 0.9771 MB / 444.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009888/0.3268, allocations: 1.163 MB / 446.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.327, allocations: 64 kB / 446.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3272, allocations: 424.7 kB / 446.6 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/0.3295, allocations: 1.236 MB / 447.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.3321, allocations: 1.545 MB / 449.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004938/0.337, allocations: 2.909 MB / 452.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3371, allocations: 0 / 452.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009766/0.3468, allocations: 4.475 MB / 456.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.3469, allocations: 4 kB / 456.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3469, allocations: 4 kB / 456.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/0.352, allocations: 1.326 MB / 458.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/0.3548, allocations: 0.5422 MB / 458.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/0.3805, allocations: 18.87 MB / 477.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.3831, allocations: 115.9 kB / 477.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/0.3834, allocations: 108 kB / 477.7 MB, free: 9.301 MB / 362.7 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 (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 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.001332/0.3848, allocations: 0.5793 MB / 478.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/0.3852, allocations: 256.8 kB / 478.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.3955, allocations: 4.431 MB / 482.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.979e-05/0.3956, allocations: 35.98 kB / 483 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3956, allocations: 4 kB / 483 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.3956, allocations: 19.94 kB / 483 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.4113, allocations: 8.441 MB / 491.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4113, allocations: 0 / 491.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/0.4136, allocations: 479.6 kB / 491.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004922/0.4186, allocations: 1.267 MB / 493.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/0.4188, allocations: 63.98 kB / 493.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1816/0.6005, allocations: 17.5 MB / 0.4988 GB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6005, allocations: 3.812 kB / 0.4988 GB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.6145, allocations: 6.154 MB / 0.5048 GB, free: 99.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.6159, allocations: 0.6148 MB / 0.5054 GB, free: 99.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006117/0.6165, allocations: 63.28 kB / 0.5054 GB, free: 99.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.6185, allocations: 127.8 kB / 0.5056 GB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/0.6191, allocations: 254.2 kB / 0.5058 GB, free: 99.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.6193, allocations: 93.38 kB / 0.5059 GB, free: 99.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001378/0.6207, allocations: 1.273 MB / 0.5071 GB, free: 98.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6207, allocations: 0 / 0.5071 GB, free: 98.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002364/0.6231, allocations: 0.8596 MB / 0.508 GB, free: 98.52 MB / 378.7 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.0008979/0.624, allocations: 0.4886 MB / 0.5085 GB, free: 98.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.6302, allocations: 4.468 MB / 0.5128 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6303, allocations: 0 / 0.5128 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003722/0.634, allocations: 2.984 MB / 0.5157 GB, free: 92.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.6362, allocations: 365 kB / 0.5161 GB, free: 92.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/0.6451, allocations: 6.976 MB / 0.5229 GB, free: 85.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.6464, allocations: 1.702 MB / 0.5246 GB, free: 83.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001879/0.6483, allocations: 288.9 kB / 0.5248 GB, free: 83.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/0.6489, allocations: 159.4 kB / 0.525 GB, free: 83.34 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6489, allocations: 0 / 0.525 GB, free: 83.34 MB / 378.7 MB Notification: Performance of Templates: time 0.06409/0.713, allocations: 49.08 MB / 0.5729 GB, free: 34.22 MB / 378.7 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