Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001109/0.001109, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.002383/0.002383, allocations: 170.4 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.587e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002515/0.002531, allocations: 1.925 MB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000917/0.003448, allocations: 0.7003 MB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003558, allocations: 11.88 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.003694, allocations: 23.73 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.003815, allocations: 27.78 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.004107, allocations: 111.6 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.004262, allocations: 139.6 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004387, allocations: 62.47 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004532, allocations: 79.8 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.00466, allocations: 39.83 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/0.004719, allocations: 8 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.00481, allocations: 12 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.004866, allocations: 27.92 kB / 276.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.004904, allocations: 39.84 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005121, allocations: 107.5 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.005126, allocations: 0 / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.005128, allocations: 0 / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005132, allocations: 4 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004017/0.005534, allocations: 352.3 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.005569, allocations: 8.031 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.005701, allocations: 32.91 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.005907, allocations: 182.2 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.005925, allocations: 8.562 kB / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.005936, allocations: 8.375 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.006209, allocations: 262.2 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.006217, allocations: 0 / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006229, allocations: 8 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.006233, allocations: 0 / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.006273, allocations: 23.92 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.006547, allocations: 278.9 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.006717, allocations: 152.7 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.006773, allocations: 68.38 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.006792, allocations: 4 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.006818, allocations: 46.48 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.00682, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001904/0.007011, allocations: 121.8 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.007105, allocations: 199.8 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.007198, allocations: 171.3 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.007229, allocations: 29.7 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.007264, allocations: 92.5 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.007282, allocations: 11.89 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.007309, allocations: 17.72 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.007386, allocations: 322.8 kB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.007397, allocations: 4 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.007469, allocations: 57.12 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.007506, allocations: 30.58 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007508, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.249e-05/0.007571, allocations: 57.55 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007583, allocations: 8 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007588, allocations: 288 / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.0076, allocations: 0 / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.007657, allocations: 8 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.007659, allocations: 0 / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.007687, allocations: 12.08 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.007692, allocations: 0 / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.895e-05/0.007761, allocations: 128.5 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.007853, allocations: 89.53 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.007889, allocations: 21.45 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.007894, allocations: 4 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.007896, allocations: 0 / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007901, allocations: 7.938 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.008034, allocations: 97.8 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008035, allocations: 0 / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.008099, allocations: 51.94 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008102, allocations: 3.938 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.008109, allocations: 4 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008111, allocations: 0 / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.008114, allocations: 4 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.008217, allocations: 229.4 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.008259, allocations: 31.81 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.008277, allocations: 11.94 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.008348, allocations: 7.984 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.008373, allocations: 11.97 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.00838, allocations: 8 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.008417, allocations: 45.86 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008417, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.008563, allocations: 16 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 8.35e-05/0.008646, allocations: 80.42 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.008724, allocations: 44.77 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.008728, allocations: 4 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.008743, allocations: 16.98 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.009037, allocations: 75.83 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.009529, allocations: 307.8 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.009577, allocations: 75.83 kB / 280.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.009615, allocations: 13.33 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.009701, allocations: 91.56 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009702, allocations: 0 / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of Templates: time 0.00367/0.01337, allocations: 1.929 MB / 282.7 MB, free: 7.648 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.63937109708786]