Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001788/0.001788, allocations: 88.31 kB / 22 MB, free: 5.172 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.002111/0.002111, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] 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.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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 59.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2017, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007982/0.2097, allocations: 5.624 MB / 354.1 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.2136, allocations: 2.065 MB / 356.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.2143, allocations: 23.88 kB / 356.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008305/0.2152, allocations: 353.8 kB / 356.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.2162, allocations: 0.4889 MB / 357.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.2171, allocations: 435.3 kB / 357.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.2187, allocations: 1.538 MB / 359 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.2192, allocations: 333.9 kB / 359.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.2198, allocations: 0.5919 MB / 359.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.2206, allocations: 0.5989 MB / 360.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.2208, allocations: 160 kB / 360.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.2211, allocations: 184 kB / 360.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.2214, allocations: 331 kB / 361.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.2219, allocations: 0.5406 MB / 361.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.2238, allocations: 1.941 MB / 363.7 MB, free: 284 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2238, allocations: 4 kB / 363.7 MB, free: 280 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2238, allocations: 0 / 363.7 MB, free: 280 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.2238, allocations: 4 kB / 363.7 MB, free: 276 kB / 318.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.002991/0.2268, allocations: 1.501 MB / 365.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2268, allocations: 8.031 kB / 365.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.227, allocations: 136.1 kB / 365.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.2282, allocations: 0.655 MB / 366 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.2283, allocations: 74.38 kB / 366.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2285, allocations: 108.1 kB / 366.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.2305, allocations: 1.052 MB / 367.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.2305, allocations: 11.92 kB / 367.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.2306, allocations: 40 kB / 367.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.2306, allocations: 24 kB / 367.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.2328, allocations: 0.8796 MB / 368.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.2379, allocations: 2.877 MB / 371 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.2411, allocations: 0.8524 MB / 371.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.2419, allocations: 345.4 kB / 372.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.242, allocations: 11.98 kB / 372.2 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.242, allocations: 38.56 kB / 372.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.242, allocations: 0 / 372.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005045/0.2471, allocations: 1.808 MB / 374.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.2471, allocations: 92.98 kB / 374.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2482, allocations: 0.848 MB / 375 MB, free: 4.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.2483, allocations: 37.7 kB / 375.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.2488, allocations: 0.5544 MB / 375.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.249, allocations: 238 kB / 375.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.2492, allocations: 158.6 kB / 376 MB, free: 3.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.2495, allocations: 394.8 kB / 376.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009668/0.2505, allocations: 337.8 kB / 376.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.2516, allocations: 0.5223 MB / 377.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.2538, allocations: 0.8365 MB / 378.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2538, allocations: 0 / 378.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00258/0.2564, allocations: 1.004 MB / 379.1 MB, free: 436 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2564, allocations: 8 kB / 379.1 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2564, allocations: 8.281 kB / 379.1 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2564, allocations: 12 kB / 379.1 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.2577, allocations: 283.6 kB / 379.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.2578, allocations: 15.94 kB / 379.4 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.2585, allocations: 71.92 kB / 379.5 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.2586, allocations: 36 kB / 379.5 MB, free: 0 / 334.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.0004123/0.259, allocations: 277.6 kB / 379.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2591, allocations: 95.38 kB / 379.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.2601, allocations: 376.9 kB / 380.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2601, allocations: 11.94 kB / 380.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2602, allocations: 0 / 380.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.2602, allocations: 11.97 kB / 380.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.264, allocations: 1.998 MB / 382.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.264, allocations: 4.844 kB / 382.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/0.265, allocations: 215.6 kB / 382.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.265, allocations: 8 kB / 382.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.265, allocations: 23.98 kB / 382.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.265, allocations: 8 kB / 382.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.265, allocations: 15.92 kB / 382.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.2668, allocations: 1.029 MB / 383.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.267, allocations: 99.41 kB / 383.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.2671, allocations: 20 kB / 383.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.2677, allocations: 51.94 kB / 383.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2678, allocations: 67.67 kB / 383.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.2679, allocations: 35.92 kB / 383.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007678/0.2686, allocations: 0.5849 MB / 384.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2686, allocations: 4 kB / 384.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008031/0.2694, allocations: 203.9 kB / 384.6 MB, free: 10.64 MB / 350.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.001418/0.2709, allocations: 392.6 kB / 385 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2728, allocations: 0.7296 MB / 385.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2728, allocations: 4 kB / 385.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008575/0.2736, allocations: 361.4 kB / 386.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.2747, allocations: 183.8 kB / 386.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.278, allocations: 1.909 MB / 388.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.2785, allocations: 434.8 kB / 388.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004607/0.279, allocations: 106.4 kB / 388.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.2792, allocations: 76.47 kB / 388.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2792, allocations: 0 / 388.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of Templates: time 0.01906/0.2982, allocations: 10.27 MB / 399.1 MB, free: 12.03 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.543533927993849]