Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.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.001834/0.001834, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00227/0.00227, allocations: 203.8 kB / 23.73 MB, free: 4.379 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 55.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2486, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003788/0.2524, allocations: 1.928 MB / 433.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2535, allocations: 0.5415 MB / 434 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2536, allocations: 7.938 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2538, allocations: 23.78 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.2538, allocations: 35.7 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2541, allocations: 47.88 kB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.2543, allocations: 151.4 kB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2545, allocations: 53.7 kB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.2547, allocations: 71.72 kB / 434.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2548, allocations: 71.7 kB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.2548, allocations: 16 kB / 434.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.2549, allocations: 19.98 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.2549, allocations: 27.92 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.255, allocations: 63.72 kB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2553, allocations: 173.6 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2553, allocations: 0 / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2553, allocations: 0 / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2553, allocations: 7.875 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007932/0.2561, allocations: 373.7 kB / 435.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2561, allocations: 8.031 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2563, allocations: 28.83 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.2566, allocations: 150.3 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2566, allocations: 8.375 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2567, allocations: 16.38 kB / 435.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.257, allocations: 150.7 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.257, allocations: 3.953 kB / 435.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2571, allocations: 12 kB / 435.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2571, allocations: 4 kB / 435.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.2573, allocations: 91.94 kB / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.2581, allocations: 403.9 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.2582, allocations: 78.48 kB / 436.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.2583, allocations: 32.78 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2583, allocations: 4 kB / 436.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.2584, allocations: 34.56 kB / 436.2 MB, free: 2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.2584, allocations: 0 / 436.2 MB, free: 2 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001054/0.2594, allocations: 466.8 kB / 436.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2595, allocations: 51.41 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2596, allocations: 140.2 kB / 436.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2596, allocations: 25.7 kB / 436.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2598, allocations: 136.2 kB / 437 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.2598, allocations: 47.62 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.2599, allocations: 29.7 kB / 437 MB, free: 1.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.26, allocations: 322.8 kB / 437.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.2601, allocations: 39.94 kB / 437.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2602, allocations: 85.42 kB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.2605, allocations: 127.8 kB / 437.6 MB, free: 420 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2605, allocations: 4 kB / 437.6 MB, free: 416 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002989/0.2608, allocations: 157.3 kB / 437.8 MB, free: 252 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2608, allocations: 4 kB / 437.8 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.2608, allocations: 4 kB / 437.8 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2608, allocations: 192 / 437.8 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.261, allocations: 47.92 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.261, allocations: 0 / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.2611, allocations: 11.94 kB / 437.8 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2611, allocations: 8 kB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (19): * Single equations (assignments): 19 * 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.0001226/0.2612, allocations: 133.8 kB / 438 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.2612, allocations: 7.953 kB / 438 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.2613, allocations: 8.719 kB / 438 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2613, allocations: 4 kB / 438 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2613, allocations: 0 / 438 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2613, allocations: 7.938 kB / 438 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.2618, allocations: 367.7 kB / 438.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2618, allocations: 4 kB / 438.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.262, allocations: 27.92 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.262, allocations: 7.875 kB / 438.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.262, allocations: 3.984 kB / 438.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.262, allocations: 4 kB / 438.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.262, allocations: 48 / 438.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2624, allocations: 253.2 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.2624, allocations: 7.984 kB / 438.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2624, allocations: 11.92 kB / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.2625, allocations: 0 / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.2625, allocations: 15.92 kB / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2626, allocations: 4 kB / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.2626, allocations: 99.27 kB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2626, allocations: 0 / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.2629, allocations: 24 kB / 438.8 MB, free: 15.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.0001146/0.263, allocations: 99.5 kB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.2632, allocations: 95.7 kB / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2632, allocations: 0 / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.2633, allocations: 39.92 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2637, allocations: 12 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.2645, allocations: 428.7 kB / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.2646, allocations: 105.5 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.2647, allocations: 16.97 kB / 439.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.2647, allocations: 11.44 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2647, allocations: 0 / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004141/0.2689, allocations: 1.012 MB / 440.6 MB, free: 13.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.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.560686712153256]