Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.002964/0.002964, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.003143/0.003143, allocations: 160.8 kB / 24.27 MB, free: 156 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.563/1.563, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.873e-05/4.057e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003572/0.003612, allocations: 1.598 MB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.004916, allocations: 0.5336 MB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.00501, allocations: 0 / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.005071, allocations: 3.938 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.005218, allocations: 7.938 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.005564, allocations: 55.69 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.005701, allocations: 47.84 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.0058, allocations: 11.98 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.005976, allocations: 39.84 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.006039, allocations: 23.84 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.006058, allocations: 0 / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.006111, allocations: 12 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.006158, allocations: 8 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.0062, allocations: 11.92 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.006383, allocations: 55.8 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006387, allocations: 0 / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.217e-06/0.006391, allocations: 4 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.006397, allocations: 0 / 274.6 MB, free: 15.38 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.0006203/0.007017, allocations: 407.9 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.007056, allocations: 15.98 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.007231, allocations: 24.83 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.007474, allocations: 144.4 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.007491, allocations: 8.375 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.0075, allocations: 384 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.007827, allocations: 132.8 kB / 275.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.007836, allocations: 192 / 275.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.007846, allocations: 384 / 275.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.007854, allocations: 3.938 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/0.007929, allocations: 23.92 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.008307, allocations: 267.5 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.008534, allocations: 82.09 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.008868, allocations: 35.42 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.008886, allocations: 4 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.008926, allocations: 41.33 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.008927, allocations: 0 / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002896/0.009216, allocations: 81.56 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.009291, allocations: 77.11 kB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.009487, allocations: 205.2 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.009507, allocations: 25.7 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.009607, allocations: 138.9 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.009625, allocations: 11.89 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.009676, allocations: 15.5 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.009946, allocations: 0.4923 MB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.009985, allocations: 7.984 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.01001, allocations: 7.938 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.01008, allocations: 23.67 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01008, allocations: 3.938 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001096/0.01019, allocations: 45.66 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01021, allocations: 7.938 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01021, allocations: 0 / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01023, allocations: 12.08 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.01028, allocations: 4 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01029, allocations: 0 / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.01032, allocations: 0 / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.01032, allocations: 0 / 276.9 MB, free: 12.82 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: 0 () * 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 0.0001238/0.01045, allocations: 156.6 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.01053, allocations: 57.52 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.01058, allocations: 12.34 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01058, allocations: 0 / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01059, allocations: 0 / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.0106, allocations: 11.98 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.01078, allocations: 132.6 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01078, allocations: 0 / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.01083, allocations: 8 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01084, allocations: 0 / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01085, allocations: 7.922 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01085, allocations: 0 / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01085, allocations: 0 / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.0111, allocations: 219.5 kB / 277.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.01114, allocations: 19.94 kB / 277.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01116, allocations: 7.938 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.01122, allocations: 4 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.01125, allocations: 0 / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01126, allocations: 3.984 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.01138, allocations: 147.2 kB / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 0 / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.0116, allocations: 8 kB / 277.7 MB, free: 11.96 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: 0 () * 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.0001255/0.01172, allocations: 91.25 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01187, allocations: 31.89 kB / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01187, allocations: 4.062 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.01192, allocations: 15.69 kB / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01227, allocations: 32.02 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.01269, allocations: 180.6 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.222e-05/0.01278, allocations: 75.33 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.01281, allocations: 0 / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.01284, allocations: 20.55 kB / 278.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01285, allocations: 0 / 278.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003594/0.01644, allocations: 0.5538 MB / 278.7 MB, free: 10.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.646338670048863]