Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002037/0.002037, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002262/0.002262, allocations: 209.6 kB / 23.73 MB, free: 4.523 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.801 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2297, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008243/0.238, allocations: 5.825 MB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.2422, allocations: 2.283 MB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.2426, allocations: 23.88 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.2435, allocations: 361.7 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.2446, allocations: 0.5433 MB / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.2455, allocations: 459.3 kB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.2472, allocations: 1.565 MB / 442.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.2478, allocations: 350 kB / 443 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008524/0.2486, allocations: 0.6112 MB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008331/0.2495, allocations: 0.6887 MB / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.2497, allocations: 160 kB / 444.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.25, allocations: 196 kB / 444.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.2503, allocations: 338.9 kB / 444.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.2508, allocations: 0.5483 MB / 445.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.2528, allocations: 1.995 MB / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2528, allocations: 0 / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2528, allocations: 0 / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.2529, allocations: 0 / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002991/0.2559, allocations: 1.497 MB / 449 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2559, allocations: 16.02 kB / 449 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005569/0.2565, allocations: 164.1 kB / 449.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.2578, allocations: 0.6813 MB / 449.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.2579, allocations: 74 kB / 449.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.2581, allocations: 96 kB / 450 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.26, allocations: 1.032 MB / 451 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.26, allocations: 0 / 451 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/0.2601, allocations: 44 kB / 451.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.2601, allocations: 20 kB / 451.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.2618, allocations: 0.8132 MB / 451.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.2671, allocations: 2.902 MB / 454.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2691, allocations: 0.5906 MB / 455.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.2697, allocations: 289.6 kB / 455.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.2698, allocations: 12 kB / 455.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.2698, allocations: 42.92 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.815e-06/0.2698, allocations: 0 / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004234/0.274, allocations: 1.684 MB / 457.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.2741, allocations: 85.11 kB / 457.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.2753, allocations: 0.9069 MB / 458.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.2753, allocations: 37.64 kB / 458.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.2758, allocations: 0.5739 MB / 459 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.276, allocations: 249.9 kB / 459.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.2763, allocations: 166.5 kB / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2765, allocations: 394.7 kB / 459.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.2773, allocations: 305.8 kB / 460.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.2782, allocations: 495.1 kB / 460.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.2798, allocations: 0.7941 MB / 461.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2798, allocations: 0 / 461.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002027/0.2818, allocations: 0.9511 MB / 462.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2818, allocations: 8.625 kB / 462.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2818, allocations: 4 kB / 462.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.2819, allocations: 16 kB / 462.4 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.283, allocations: 267.6 kB / 462.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.2831, allocations: 11.98 kB / 462.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.2837, allocations: 59.89 kB / 462.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.2838, allocations: 39.98 kB / 462.7 MB, free: 7.023 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 (112): * Single equations (assignments): 112 * 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.0004421/0.2842, allocations: 289.5 kB / 463 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2844, allocations: 91.39 kB / 463.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008143/0.2852, allocations: 349 kB / 463.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.2852, allocations: 8 kB / 463.5 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2852, allocations: 0 / 463.5 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2852, allocations: 3.984 kB / 463.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.2891, allocations: 2 MB / 465.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.2891, allocations: 7.938 kB / 465.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/0.2899, allocations: 212 kB / 465.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.29, allocations: 15.98 kB / 465.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.29, allocations: 16 kB / 465.7 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.29, allocations: 15.94 kB / 465.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.29, allocations: 8 kB / 465.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.2918, allocations: 1.021 MB / 466.8 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.292, allocations: 115.3 kB / 466.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.2921, allocations: 20 kB / 466.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.2927, allocations: 51.95 kB / 466.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2928, allocations: 71.7 kB / 467 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.2929, allocations: 24 kB / 467 MB, free: 2.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008456/0.2937, allocations: 0.6201 MB / 467.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2937, allocations: 0 / 467.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008075/0.2945, allocations: 208 kB / 467.9 MB, free: 1.672 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.001418/0.296, allocations: 413.4 kB / 468.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.2976, allocations: 0.6954 MB / 469 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2976, allocations: 3.938 kB / 469 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.2984, allocations: 349.2 kB / 469.3 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.2995, allocations: 214.1 kB / 469.5 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.3028, allocations: 1.933 MB / 471.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.3033, allocations: 447.5 kB / 471.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004459/0.3037, allocations: 118.7 kB / 472 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3039, allocations: 71.41 kB / 472.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3039, allocations: 0 / 472.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of Templates: time 0.02144/0.3254, allocations: 12.21 MB / 484.3 MB, free: 1.465 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.02602688036859]