Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.00137/0.00137, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001506/0.001506, allocations: 165.3 kB / 24.26 MB, free: 148 kB / 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 1.609/1.609, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.733e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002879/0.002906, allocations: 1.547 MB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005458/0.003452, allocations: 139.5 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.003523, allocations: 0 / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.382e-05/0.003597, allocations: 7.938 kB / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.003738, allocations: 11.92 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.003977, allocations: 39.78 kB / 274.1 MB, free: 80 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.004072, allocations: 27.92 kB / 274.1 MB, free: 52 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.004164, allocations: 15.97 kB / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.004218, allocations: 19.92 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.004258, allocations: 11.98 kB / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.004276, allocations: 0 / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.004287, allocations: 4 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.004335, allocations: 11.98 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.00438, allocations: 19.91 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.004504, allocations: 39.83 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004506, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004506, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.004512, allocations: 0 / 274.2 MB, free: 15.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004982/0.00501, allocations: 298 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.005049, allocations: 12.03 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.005097, allocations: 8.891 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.005316, allocations: 137.6 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.00533, allocations: 4.375 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.00534, allocations: 384 / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.005646, allocations: 117.6 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005654, allocations: 4.125 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.005662, allocations: 384 / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.005666, allocations: 384 / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.005754, allocations: 31.86 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.006056, allocations: 197.5 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.006259, allocations: 69.06 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/0.006333, allocations: 25.78 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.006351, allocations: 0 / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.006397, allocations: 42.48 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006398, allocations: 0 / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002742/0.006672, allocations: 81.66 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.006747, allocations: 85.05 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.006897, allocations: 141.8 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.006917, allocations: 25.7 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.006986, allocations: 88.12 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.006993, allocations: 0 / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.007031, allocations: 17.67 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.007205, allocations: 318.8 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.007244, allocations: 7.984 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.00727, allocations: 4 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.007344, allocations: 20.94 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007345, allocations: 0 / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.007456, allocations: 49.62 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.007468, allocations: 4 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.007474, allocations: 3.938 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.007487, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.007528, allocations: 4 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.007532, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.007562, allocations: 12.02 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.007566, allocations: 0 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.642e-05/0.007662, allocations: 113.8 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.007753, allocations: 49.64 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.007785, allocations: 16.28 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.007789, allocations: 4 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.007793, allocations: 0 / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.007796, allocations: 0 / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.007954, allocations: 117.3 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007955, allocations: 3.938 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.008007, allocations: 12 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008008, allocations: 3.938 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.008014, allocations: 0 / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.008018, allocations: 3.938 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008019, allocations: 0 / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.008234, allocations: 168.3 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.008272, allocations: 16.22 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008285, allocations: 0 / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.008349, allocations: 7.938 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.008382, allocations: 3.938 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.00839, allocations: 11.98 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.761e-05/0.008477, allocations: 103.2 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008477, allocations: 0 / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.008697, allocations: 4 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001117/0.008809, allocations: 99.25 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.008932, allocations: 15.98 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008934, allocations: 4 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.008976, allocations: 16.05 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.009317, allocations: 20.81 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.009664, allocations: 156 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.791e-05/0.009752, allocations: 75.33 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.009767, allocations: 0 / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.009796, allocations: 8.5 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009796, allocations: 4 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Templates: time 0.003125/0.01292, allocations: 0.5193 MB / 277.5 MB, free: 12.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.466008727904409]