Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 91.61 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 160.5 kB / 24.55 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.049/1.049, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.416e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002649/0.002673, allocations: 1.748 MB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003974/0.00307, allocations: 167.3 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.003153, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/0.00321, allocations: 11.86 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.003355, allocations: 7.875 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003572, allocations: 55.81 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.003671, allocations: 51.84 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.003769, allocations: 19.98 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.003826, allocations: 35.89 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.00387, allocations: 15.92 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.003891, allocations: 4 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.003903, allocations: 4 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.003949, allocations: 15.92 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.003977, allocations: 19.92 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.004094, allocations: 51.7 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004096, allocations: 4 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004098, allocations: 4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004101, allocations: 0 / 275.1 MB, free: 15.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003978/0.004499, allocations: 416.2 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.004535, allocations: 15.98 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.004576, allocations: 16.89 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.004744, allocations: 148.4 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004754, allocations: 4.375 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.004771, allocations: 12.31 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.005047, allocations: 169.2 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.005057, allocations: 192 / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.005066, allocations: 384 / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.005075, allocations: 4.359 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.005121, allocations: 23.88 kB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.005443, allocations: 414.2 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.005618, allocations: 121.3 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.005675, allocations: 51.17 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.005697, allocations: 4 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.005722, allocations: 37.39 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.005723, allocations: 0 / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002196/0.005943, allocations: 105.6 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.005996, allocations: 110.8 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006101, allocations: 189.8 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.006114, allocations: 29.7 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.006163, allocations: 143.1 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.00618, allocations: 7.938 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.006214, allocations: 23.33 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.006325, allocations: 496.1 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.006336, allocations: 4 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.006354, allocations: 15.38 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.006387, allocations: 31.3 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006389, allocations: 4 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.028e-05/0.006449, allocations: 41.7 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.006463, allocations: 7.938 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006469, allocations: 4 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.006485, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.547e-05/0.00651, allocations: 4 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006516, allocations: 3.984 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.006533, allocations: 0 / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.00654, allocations: 4 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.679e-05/0.006606, allocations: 156.6 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.006702, allocations: 73.89 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.006736, allocations: 16.78 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.00674, allocations: 4 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006743, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006747, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.00692, allocations: 136.6 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006922, allocations: 4 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.006968, allocations: 19.98 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006971, allocations: 4 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.006978, allocations: 0 / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.006982, allocations: 8.016 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006984, allocations: 3.984 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.007252, allocations: 402.2 kB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.007285, allocations: 19.88 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.007298, allocations: 4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.007376, allocations: 3.984 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.007407, allocations: 4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.007411, allocations: 3.938 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.007473, allocations: 158.2 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007473, allocations: 0 / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.007724, allocations: 4 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 7.177e-05/0.007796, allocations: 107.2 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.007883, allocations: 27.66 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007884, allocations: 0 / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.007901, allocations: 15.62 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.008292, allocations: 34.95 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.008611, allocations: 212.2 kB / 279.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.157e-05/0.008662, allocations: 71.33 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.008679, allocations: 3.938 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.008704, allocations: 12.5 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008705, allocations: 0 / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Templates: time 0.002433/0.01114, allocations: 0.6735 MB / 279.9 MB, free: 10.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.908165075816214]