Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008133/0.000813, allocations: 108.8 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002084, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1958, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.2982, allocations: 96.47 MB / 0.4933 GB, free: 11.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.2985, allocations: 91.95 kB / 0.4934 GB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2629/0.5614, allocations: 52 MB / 0.5442 GB, free: 68.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5614, allocations: 4 kB / 0.5442 GB, free: 68.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.5616, allocations: 51.98 kB / 0.5442 GB, free: 68.18 MB / 378.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.006121/0.5678, allocations: 2.614 MB / 0.5468 GB, free: 65.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5678, allocations: 8.031 kB / 0.5468 GB, free: 65.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.5691, allocations: 333.4 kB / 0.5471 GB, free: 65.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.5718, allocations: 1.407 MB / 0.5485 GB, free: 63.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.572, allocations: 160.5 kB / 0.5486 GB, free: 63.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005222/0.5725, allocations: 212.3 kB / 0.5488 GB, free: 63.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.5768, allocations: 1.932 MB / 0.5507 GB, free: 61.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/0.5769, allocations: 192 / 0.5507 GB, free: 61.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.5771, allocations: 91.94 kB / 0.5508 GB, free: 61.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.5772, allocations: 48 kB / 0.5509 GB, free: 61.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004062/0.5812, allocations: 2.007 MB / 0.5528 GB, free: 59.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.5928, allocations: 7.598 MB / 0.5602 GB, free: 51.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.596, allocations: 2.375 MB / 0.5626 GB, free: 48.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.5982, allocations: 1.385 MB / 0.5639 GB, free: 47.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5984, allocations: 37.97 kB / 0.5639 GB, free: 47.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.5984, allocations: 60.56 kB / 0.564 GB, free: 47.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 4.748e-06/0.5984, allocations: 0 / 0.564 GB, free: 47.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.05397/0.6524, allocations: 17.7 MB / 0.5813 GB, free: 29.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6525, allocations: 90.28 kB / 0.5814 GB, free: 29.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.6553, allocations: 1.836 MB / 0.5832 GB, free: 27.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000371/0.6557, allocations: 85.7 kB / 0.5833 GB, free: 27.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.6562, allocations: 0.966 MB / 0.5842 GB, free: 26.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007823/0.657, allocations: 1.205 MB / 0.5854 GB, free: 25.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.6572, allocations: 68 kB / 0.5854 GB, free: 25.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6573, allocations: 436.9 kB / 0.5859 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.6596, allocations: 1.287 MB / 0.5871 GB, free: 23.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.6621, allocations: 1.574 MB / 0.5886 GB, free: 21.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004978/0.6671, allocations: 2.995 MB / 0.5916 GB, free: 18.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6671, allocations: 4 kB / 0.5916 GB, free: 18.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009461/0.6766, allocations: 4.602 MB / 0.5961 GB, free: 14.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6766, allocations: 4 kB / 0.5961 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.6766, allocations: 8 kB / 0.5961 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.6816, allocations: 1.377 MB / 0.5974 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.6844, allocations: 0.55 MB / 0.598 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/0.7065, allocations: 19.08 MB / 0.6166 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.709, allocations: 139.9 kB / 0.6167 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.7093, allocations: 112 kB / 0.6168 GB, free: 7.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (307): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.7107, allocations: 0.5771 MB / 0.6174 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.7111, allocations: 264.7 kB / 0.6177 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.7216, allocations: 4.594 MB / 0.6221 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.7217, allocations: 36 kB / 0.6222 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.7217, allocations: 4 kB / 0.6222 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.7218, allocations: 15.94 kB / 0.6222 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.7407, allocations: 9.012 MB / 0.631 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.7408, allocations: 4 kB / 0.631 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/0.7435, allocations: 499.8 kB / 0.6315 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005349/0.7489, allocations: 1.286 MB / 0.6327 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005651/0.7495, allocations: 79.97 kB / 0.6328 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/0.7724, allocations: 17.67 MB / 0.6501 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7724, allocations: 4 kB / 0.6501 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.7867, allocations: 6.431 MB / 0.6563 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/0.7886, allocations: 0.6694 MB / 0.657 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/0.7892, allocations: 64 kB / 0.6571 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/0.7912, allocations: 147.9 kB / 0.6572 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/0.7919, allocations: 266.8 kB / 0.6575 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/0.7921, allocations: 95.98 kB / 0.6575 GB, free: 12.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001975/0.7941, allocations: 1.286 MB / 0.6588 GB, free: 11.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7941, allocations: 0 / 0.6588 GB, free: 11.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003004/0.7971, allocations: 0.9218 MB / 0.6597 GB, free: 10.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (256): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 41,3 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.7982, allocations: 476 kB / 0.6602 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008019/0.8062, allocations: 4.6 MB / 0.6646 GB, free: 5.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.8063, allocations: 0.875 kB / 0.6646 GB, free: 5.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005086/0.8113, allocations: 3.102 MB / 0.6677 GB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.8142, allocations: 365.8 kB / 0.668 GB, free: 2.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/0.9961, allocations: 6.956 MB / 0.6748 GB, free: 121.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.9975, allocations: 1.72 MB / 0.6765 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/0.9988, allocations: 203.4 kB / 0.6767 GB, free: 120.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/0.9989, allocations: 0 / 0.6767 GB, free: 120.5 MB / 442.7 MB Notification: Performance of Templates: time 0.094/1.093, allocations: 120.5 MB / 0.7944 GB, free: 25.44 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches