Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 55.91 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09807, allocations: 53.33 MB / 426.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.1997/0.2978, allocations: 11.46 MB / 437.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.3041, allocations: 3.528 MB / 441.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.3065, allocations: 46.94 kB / 441.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.308, allocations: 0.6963 MB / 442 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.3111, allocations: 0.9952 MB / 443 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.3134, allocations: 0.9395 MB / 444 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005807/0.3193, allocations: 3.555 MB / 447.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.3206, allocations: 0.6031 MB / 448.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.3235, allocations: 1.362 MB / 449.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.3273, allocations: 1.577 MB / 451.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008952/0.3281, allocations: 356.5 kB / 451.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3293, allocations: 400.9 kB / 451.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007611/0.33, allocations: 0.7304 MB / 452.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.3324, allocations: 1.53 MB / 454.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.3377, allocations: 4.425 MB / 458.5 MB, free: 9.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3377, allocations: 1.562 kB / 458.5 MB, free: 9.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3377, allocations: 4 kB / 458.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001231/0.3378, allocations: 0 / 458.5 MB, free: 9.719 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.008064/0.3459, allocations: 3.286 MB / 461.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.346, allocations: 10.38 kB / 461.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004142/0.3464, allocations: 294.3 kB / 462.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.3476, allocations: 367.8 kB / 462.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.3505, allocations: 1.486 MB / 463.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3506, allocations: 156.1 kB / 464.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.3509, allocations: 208 kB / 464.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/0.3548, allocations: 1.87 MB / 466.1 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.263e-05/0.3549, allocations: 9.391 kB / 466.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.3551, allocations: 81.94 kB / 466.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.3551, allocations: 49.22 kB / 466.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/0.359, allocations: 1.861 MB / 468.1 MB, free: 3.535 MB / 366.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.014/0.373, allocations: 7.473 MB / 475.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.3768, allocations: 2.129 MB / 477.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.3795, allocations: 1.283 MB / 479 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.3797, allocations: 41.95 kB / 479.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.3797, allocations: 60.5 kB / 479.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 3.947e-06/0.3797, allocations: 4 kB / 479.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06461/0.4444, allocations: 17.72 MB / 496.9 MB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.4444, allocations: 94.14 kB / 496.9 MB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/0.4477, allocations: 1.984 MB / 498.9 MB, free: 7.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.448, allocations: 85.7 kB / 499 MB, free: 7.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.449, allocations: 1.043 MB / 0.4883 GB, free: 6.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/0.4504, allocations: 1.228 MB / 0.4895 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009801/0.4514, allocations: 0.4957 MB / 0.49 GB, free: 4.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4516, allocations: 305.1 kB / 0.4903 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.4541, allocations: 1.197 MB / 0.4915 GB, free: 3.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.4568, allocations: 1.514 MB / 0.493 GB, free: 1.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/0.4623, allocations: 2.847 MB / 0.4957 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4623, allocations: 4 kB / 0.4957 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01088/0.4732, allocations: 4.406 MB / 0.5 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.4732, allocations: 8 kB / 0.5001 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.4733, allocations: 7.938 kB / 0.5001 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00566/0.4789, allocations: 1.342 MB / 0.5014 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.4818, allocations: 0.511 MB / 0.5019 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/0.5132, allocations: 20.69 MB / 0.5221 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.516, allocations: 92.03 kB / 0.5222 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005257/0.5165, allocations: 108 kB / 0.5223 GB, free: 2.371 MB / 430.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 (302): * Single equations (assignments): 295 * 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.001838/0.5184, allocations: 0.591 MB / 0.5228 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009477/0.5193, allocations: 286.1 kB / 0.5231 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.5306, allocations: 4.325 MB / 0.5273 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.202e-05/0.5306, allocations: 32 kB / 0.5274 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.5306, allocations: 7.984 kB / 0.5274 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.5307, allocations: 19.94 kB / 0.5274 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.5487, allocations: 8.37 MB / 0.5356 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.5487, allocations: 0 / 0.5356 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/0.5513, allocations: 459.7 kB / 0.536 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005946/0.5572, allocations: 1.267 MB / 0.5372 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000745/0.558, allocations: 67.98 kB / 0.5373 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/0.5868, allocations: 19.27 MB / 0.5561 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5868, allocations: 8.062 kB / 0.5561 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/0.6031, allocations: 6.03 MB / 0.562 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/0.6054, allocations: 0.6357 MB / 0.5626 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009036/0.6063, allocations: 68 kB / 0.5627 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/0.6088, allocations: 87.95 kB / 0.5628 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009483/0.6097, allocations: 262.8 kB / 0.563 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/0.61, allocations: 91.92 kB / 0.5631 GB, free: 7.129 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002391/0.6124, allocations: 1.391 MB / 0.5645 GB, free: 5.715 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6124, allocations: 0 / 0.5645 GB, free: 5.715 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003429/0.6158, allocations: 0.8828 MB / 0.5653 GB, free: 4.832 MB / 478.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 (247): * Single equations (assignments): 240 * 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.01523/0.631, allocations: 6.915 MB / 0.5721 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008409/0.6395, allocations: 4.239 MB / 0.5762 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6395, allocations: 0 / 0.5762 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005138/0.6446, allocations: 2.825 MB / 0.579 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.647, allocations: 414 kB / 0.5794 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05024/0.6973, allocations: 23.94 MB / 0.6028 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.6989, allocations: 1.743 MB / 0.6045 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001596/0.7005, allocations: 292.8 kB / 0.6048 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/0.7022, allocations: 1.089 MB / 0.6058 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.7022, allocations: 0 / 0.6058 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3655/1.068, allocations: 78.88 MB / 0.6829 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/21.88, allocations: 7.812 kB / 0.6829 GB, free: 124.8 MB / 0.5137 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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.535636581014842]