Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.84 kB / 306.3 MB, free: 1.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002996/0.1109, allocations: 1.647 MB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.1119, allocations: 0.5572 MB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.112, allocations: 4 kB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.74e-05/0.1121, allocations: 7.922 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1122, allocations: 7.875 kB / 359 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1125, allocations: 55.88 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.1126, allocations: 43.86 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1127, allocations: 24.16 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1129, allocations: 35.84 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.113, allocations: 19.86 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.113, allocations: 4 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.113, allocations: 4 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1131, allocations: 11.94 kB / 359.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1131, allocations: 23.8 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1133, allocations: 59.73 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1133, allocations: 0 / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1133, allocations: 4 kB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1133, allocations: 0 / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005623/0.1139, allocations: 390.1 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1139, allocations: 8.031 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.1141, allocations: 24.81 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1143, allocations: 204 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1144, allocations: 384 / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1144, allocations: 7.938 kB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1147, allocations: 113.9 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1147, allocations: 4 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1147, allocations: 0 / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1147, allocations: 0 / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.1148, allocations: 23.92 kB / 360.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1152, allocations: 278.5 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1153, allocations: 71.84 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.1154, allocations: 38.5 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1155, allocations: 0 / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1155, allocations: 38.5 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1155, allocations: 0 / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002826/0.1158, allocations: 89.69 kB / 360.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1159, allocations: 106.8 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.116, allocations: 145.7 kB / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.116, allocations: 25.7 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.1161, allocations: 100 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.1161, allocations: 3.984 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1161, allocations: 21.91 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1163, allocations: 314.8 kB / 361.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.1163, allocations: 12 kB / 361.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.1164, allocations: 35.36 kB / 361.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.1165, allocations: 55.36 kB / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1165, allocations: 0 / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/0.1167, allocations: 69.52 kB / 361.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1167, allocations: 10.81 kB / 361.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1167, allocations: 0 / 361.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1167, allocations: 128 / 361.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.1168, allocations: 15.94 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1168, allocations: 3.984 kB / 361.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.1169, allocations: 7.938 kB / 361.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1169, allocations: 4 kB / 361.5 MB, free: 9.539 MB / 302.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.107e-05/0.117, allocations: 121.7 kB / 361.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.1171, allocations: 53.59 kB / 361.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.1171, allocations: 7.875 kB / 361.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1171, allocations: 8.062 kB / 361.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1171, allocations: 0 / 361.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1171, allocations: 7.922 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1173, allocations: 169.7 kB / 361.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1173, allocations: 0 / 361.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.1174, allocations: 19.92 kB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1174, allocations: 0 / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1174, allocations: 0 / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1174, allocations: 4 kB / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1174, allocations: 0 / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1177, allocations: 177.1 kB / 362 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.1177, allocations: 93 kB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1177, allocations: 4.141 kB / 362.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1178, allocations: 0 / 362.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1179, allocations: 19.84 kB / 362.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1179, allocations: 3.938 kB / 362.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.118, allocations: 118.6 kB / 362.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.118, allocations: 0 / 362.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1182, allocations: 4 kB / 362.3 MB, free: 8.637 MB / 302.1 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 (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.0001174/0.1183, allocations: 99.23 kB / 362.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1185, allocations: 31.92 kB / 362.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1185, allocations: 256 / 362.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.1185, allocations: 15.98 kB / 362.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1189, allocations: 20.03 kB / 362.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.1193, allocations: 218.1 kB / 362.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1196, allocations: 0.6887 MB / 363.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1196, allocations: 4 kB / 363.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1197, allocations: 7.438 kB / 363.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1197, allocations: 4 kB / 363.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of Templates: time 0.002678/0.1224, allocations: 0.5468 MB / 363.9 MB, free: 6.945 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches