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.002022/0.002022, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002313/0.002313, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.646/1.646, allocations: 177.1 MB / 204.7 MB, free: 8.934 MB / 190.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.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 0.001894/0.001894, allocations: 57.52 kB / 325.5 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 53.38 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002886/0.109, allocations: 1.584 MB / 380.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.1099, allocations: 0.5065 MB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.11, allocations: 3.938 kB / 381 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.1101, allocations: 3.938 kB / 381 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1102, allocations: 15.86 kB / 381 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.1105, allocations: 51.88 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1106, allocations: 39.86 kB / 381.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1106, allocations: 11.98 kB / 381.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1108, allocations: 39.78 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.1108, allocations: 15.92 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1108, allocations: 8 kB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.1109, allocations: 4 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1109, allocations: 15.92 kB / 381.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.111, allocations: 19.88 kB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1111, allocations: 67.61 kB / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1111, allocations: 0 / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1111, allocations: 3.938 kB / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1111, allocations: 0 / 381.3 MB, free: 13.04 MB / 350.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.0004146/0.1115, allocations: 298 kB / 381.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1115, allocations: 11.98 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1117, allocations: 24.88 kB / 381.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1119, allocations: 146.3 kB / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1119, allocations: 4.312 kB / 381.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1119, allocations: 4.375 kB / 381.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1122, allocations: 121.3 kB / 381.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1122, allocations: 4 kB / 381.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1122, allocations: 3.984 kB / 381.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1122, allocations: 0 / 381.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.1123, allocations: 23.92 kB / 381.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.1126, allocations: 201.5 kB / 382.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1128, allocations: 65.14 kB / 382.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.1128, allocations: 29.7 kB / 382.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1128, allocations: 0 / 382.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1129, allocations: 38.56 kB / 382.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1129, allocations: 0 / 382.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002549/0.1131, allocations: 85.55 kB / 382.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.1132, allocations: 81.11 kB / 382.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1133, allocations: 137.2 kB / 382.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1133, allocations: 25.7 kB / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.1134, allocations: 96.12 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1134, allocations: 7.953 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1135, allocations: 13.72 kB / 382.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1136, allocations: 327 kB / 383 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.1136, allocations: 4 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.1137, allocations: 39.36 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/0.1138, allocations: 47.36 kB / 383.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1138, allocations: 0 / 383.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/0.1139, allocations: 81.5 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.114, allocations: 4 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.114, allocations: 0 / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.114, allocations: 4 kB / 383.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.114, allocations: 8 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.114, allocations: 7.922 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.1141, allocations: 8 kB / 383.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1141, allocations: 0 / 383.2 MB, free: 10.9 MB / 350.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.243e-05/0.1142, allocations: 125.8 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.1143, allocations: 53.64 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.1143, allocations: 12.34 kB / 383.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1143, allocations: 7.938 kB / 383.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1143, allocations: 3.984 kB / 383.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1143, allocations: 0 / 383.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1145, allocations: 113.3 kB / 383.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1145, allocations: 3.938 kB / 383.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.1145, allocations: 11.98 kB / 383.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1145, allocations: 4 kB / 383.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1145, allocations: 0 / 383.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1145, allocations: 4 kB / 383.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1145, allocations: 0 / 383.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1147, allocations: 172.6 kB / 383.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.1148, allocations: 23.88 kB / 383.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1148, allocations: 0 / 383.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1148, allocations: 4 kB / 383.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.1149, allocations: 0 / 383.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1149, allocations: 0 / 383.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.115, allocations: 118.3 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.115, allocations: 0 / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1152, allocations: 8 kB / 383.9 MB, free: 10.18 MB / 350.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 9.305e-05/0.1153, allocations: 95.25 kB / 384 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1154, allocations: 31.91 kB / 384 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1154, allocations: 0 / 384 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.1155, allocations: 12 kB / 384 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1158, allocations: 23.89 kB / 384 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.1161, allocations: 172 kB / 384.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.1162, allocations: 74.42 kB / 384.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.1162, allocations: 4 kB / 384.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1162, allocations: 16.48 kB / 384.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1162, allocations: 4 kB / 384.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Templates: time 0.002813/0.119, allocations: 0.5542 MB / 384.8 MB, free: 9.16 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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.601474556024186]