Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 47.92 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1134, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009326/0.1227, allocations: 6.428 MB / 424.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.1278, allocations: 2.212 MB / 427.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.1291, allocations: 23.88 kB / 427.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1305, allocations: 349.8 kB / 427.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.1326, allocations: 0.4889 MB / 428 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.1341, allocations: 447.3 kB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.1368, allocations: 1.538 MB / 430 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009233/0.1377, allocations: 365.4 kB / 430.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.139, allocations: 0.5802 MB / 430.9 MB, free: 136 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.1403, allocations: 0.677 MB / 431.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005023/0.1408, allocations: 160 kB / 431.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.1416, allocations: 191.9 kB / 431.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005321/0.1421, allocations: 323 kB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.1434, allocations: 0.661 MB / 432.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.1464, allocations: 1.946 MB / 434.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1464, allocations: 0 / 434.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1464, allocations: 0 / 434.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.143e-05/0.1465, allocations: 4 kB / 434.8 MB, free: 12.17 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004592/0.1511, allocations: 1.572 MB / 436.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.1511, allocations: 8.031 kB / 436.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.654e-05/0.1512, allocations: 26.19 kB / 436.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003496/0.1515, allocations: 140.2 kB / 436.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.1519, allocations: 140.1 kB / 436.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.1537, allocations: 0.7246 MB / 437.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.1538, allocations: 78.12 kB / 437.5 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.154, allocations: 95.95 kB / 437.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1562, allocations: 1.013 MB / 438.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.1563, allocations: 0 / 438.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.1564, allocations: 40 kB / 438.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.1564, allocations: 24 kB / 438.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.1587, allocations: 0.8912 MB / 439.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006378/0.165, allocations: 3.634 MB / 443.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.1682, allocations: 0.8635 MB / 444.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.1691, allocations: 338.1 kB / 444.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.1691, allocations: 11.98 kB / 444.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.1692, allocations: 46.42 kB / 444.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.655e-06/0.1692, allocations: 0 / 444.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005462/0.1746, allocations: 1.808 MB / 446.3 MB, free: 400 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1747, allocations: 85.11 kB / 446.4 MB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1989/0.3736, allocations: 0.9757 MB / 447.3 MB, free: 29.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.3738, allocations: 39.02 kB / 447.4 MB, free: 29.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.374, allocations: 0.5314 MB / 447.9 MB, free: 29.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.3742, allocations: 243.7 kB / 448.1 MB, free: 29.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.3745, allocations: 154.4 kB / 448.3 MB, free: 29.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.3745, allocations: 340.4 kB / 448.6 MB, free: 29.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/0.3754, allocations: 340.3 kB / 449 MB, free: 29.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/0.3764, allocations: 0.5263 MB / 449.5 MB, free: 28.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.3781, allocations: 0.8325 MB / 450.3 MB, free: 28.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3781, allocations: 3.719 kB / 450.3 MB, free: 28.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002184/0.3803, allocations: 1.015 MB / 451.3 MB, free: 28.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3803, allocations: 8.781 kB / 451.3 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3803, allocations: 13.05 kB / 451.4 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.3803, allocations: 7.781 kB / 451.4 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3815, allocations: 277.5 kB / 451.6 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.3815, allocations: 17.34 kB / 451.6 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.3824, allocations: 68.84 kB / 451.7 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.3824, allocations: 35.34 kB / 451.7 MB, free: 28.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.3828, allocations: 286.6 kB / 452 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.383, allocations: 107.1 kB / 452.1 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.384, allocations: 383.3 kB / 452.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.384, allocations: 12.58 kB / 452.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.384, allocations: 1.125 kB / 452.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.384, allocations: 3.453 kB / 452.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.3881, allocations: 2.301 MB / 454.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.3882, allocations: 6.906 kB / 454.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009564/0.3891, allocations: 210.4 kB / 455 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.3891, allocations: 11.77 kB / 455 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.3892, allocations: 28.52 kB / 455.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.766e-05/0.3892, allocations: 15.28 kB / 455.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.3892, allocations: 7.969 kB / 455.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3909, allocations: 1.033 MB / 456.1 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.3911, allocations: 189.9 kB / 456.3 MB, free: 26.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3912, allocations: 25.44 kB / 456.3 MB, free: 26.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.3918, allocations: 50.52 kB / 456.4 MB, free: 26.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.3919, allocations: 66.83 kB / 456.5 MB, free: 26.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.392, allocations: 27.03 kB / 456.5 MB, free: 26.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008542/0.3928, allocations: 0.6779 MB / 457.2 MB, free: 25.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3928, allocations: 0 / 457.2 MB, free: 25.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.3936, allocations: 210.4 kB / 457.4 MB, free: 25.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00294/0.3966, allocations: 1.856 MB / 459.2 MB, free: 24.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.3985, allocations: 0.7319 MB / 460 MB, free: 24.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3985, allocations: 0 / 460 MB, free: 24.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.3992, allocations: 355.4 kB / 460.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4004, allocations: 207.5 kB / 460.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.413, allocations: 8.439 MB / 468.9 MB, free: 19.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.4135, allocations: 1.021 MB / 470 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005879/0.4141, allocations: 131.2 kB / 470.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.4146, allocations: 383.6 kB / 470.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4146, allocations: 0 / 470.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.4555, allocations: 20.24 MB / 490.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/10.2, allocations: 7.938 kB / 490.7 MB, free: 4.645 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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: 13.14987399202073]