Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.002067/0.002067, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002043/0.002043, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 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.674/1.674, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4073, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.004096/0.4114, allocations: 1.577 MB / 433.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005813/0.4119, allocations: 139.5 kB / 433.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.4121, allocations: 3.938 kB / 433.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.859e-05/0.4121, allocations: 7.922 kB / 433.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.4123, allocations: 11.94 kB / 433.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.4126, allocations: 35.89 kB / 433.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.4127, allocations: 35.86 kB / 433.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4128, allocations: 8 kB / 433.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.4129, allocations: 15.92 kB / 434 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.4129, allocations: 11.94 kB / 434 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.4129, allocations: 8 kB / 434 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.4129, allocations: 0 / 434 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.413, allocations: 19.91 kB / 434 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.4131, allocations: 23.81 kB / 434 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.4132, allocations: 49.39 kB / 434.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4132, allocations: 0 / 434.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4132, allocations: 0 / 434.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4133, allocations: 3.938 kB / 434.1 MB, free: 5.137 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005038/0.4138, allocations: 298.1 kB / 434.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4138, allocations: 12.03 kB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.4138, allocations: 8.891 kB / 434.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4141, allocations: 138.4 kB / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.4141, allocations: 384 / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4141, allocations: 4.375 kB / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.4144, allocations: 121.5 kB / 434.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4145, allocations: 4.125 kB / 434.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4145, allocations: 3.938 kB / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4145, allocations: 0 / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.4146, allocations: 19.98 kB / 434.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.4149, allocations: 236.8 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4151, allocations: 57.14 kB / 435 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.4152, allocations: 25.77 kB / 435 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.4152, allocations: 11.94 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.4153, allocations: 34.56 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4153, allocations: 0 / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002751/0.4155, allocations: 77.56 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.4156, allocations: 77.11 kB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4158, allocations: 138 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.4158, allocations: 25.7 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.4158, allocations: 88.12 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.4159, allocations: 8.078 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.4159, allocations: 17.72 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.416, allocations: 318.8 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.4161, allocations: 8 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.4161, allocations: 31.42 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.4162, allocations: 47.36 kB / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4162, allocations: 0 / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.4164, allocations: 73.5 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4164, allocations: 4 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4164, allocations: 4.125 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4164, allocations: 4 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.4165, allocations: 7.984 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4165, allocations: 4 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.4165, allocations: 7.891 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4165, allocations: 4 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 9.326e-05/0.4166, allocations: 121.8 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.4167, allocations: 49.91 kB / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.4167, allocations: 24.33 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4167, allocations: 0 / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4167, allocations: 0 / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4167, allocations: 0 / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4169, allocations: 152.6 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4169, allocations: 0 / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.4169, allocations: 8 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4169, allocations: 0 / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4169, allocations: 0 / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.417, allocations: 3.984 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.417, allocations: 4 kB / 436.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.4171, allocations: 164.3 kB / 436.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.4172, allocations: 19.94 kB / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.4172, allocations: 0 / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.4172, allocations: 0 / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.4173, allocations: 7.984 kB / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4173, allocations: 0 / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.4174, allocations: 111.1 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4174, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.4176, allocations: 4 kB / 436.6 MB, free: 2.27 MB / 334.1 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.0001031/0.4177, allocations: 95.19 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.4178, allocations: 35.91 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4178, allocations: 0 / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.4179, allocations: 12.25 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.4182, allocations: 23.95 kB / 436.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.4185, allocations: 154.4 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4189, allocations: 0.6885 MB / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.4189, allocations: 0 / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.4189, allocations: 11.44 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4189, allocations: 4.062 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.003229/0.4221, allocations: 0.5212 MB / 438.1 MB, free: 0.6719 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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: 5.443329776637256]