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) 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 55.34 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1064, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002921/0.1094, allocations: 1.56 MB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.1098, allocations: 139.6 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.1099, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.1099, allocations: 7.922 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1101, allocations: 3.938 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1103, allocations: 39.83 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1105, allocations: 35.86 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1106, allocations: 19.98 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.1106, allocations: 15.92 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.1107, allocations: 11.94 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1107, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.1107, allocations: 0 / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.1108, allocations: 11.92 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.1108, allocations: 27.8 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1109, allocations: 43.83 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1109, allocations: 0 / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1109, allocations: 0 / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.111, allocations: 4 kB / 360.8 MB, free: 11.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004731/0.1114, allocations: 371.2 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1115, allocations: 8.031 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1115, allocations: 8.844 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1118, allocations: 196 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1118, allocations: 4.375 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1119, allocations: 4.312 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1121, allocations: 121.6 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1122, allocations: 4.125 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1122, allocations: 11.92 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1122, allocations: 0 / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/0.1123, allocations: 19.92 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.1126, allocations: 257.8 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1128, allocations: 146.2 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.1129, allocations: 25.78 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1129, allocations: 4 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1129, allocations: 34.55 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1129, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002383/0.1132, allocations: 81.5 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1132, allocations: 77.11 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1134, allocations: 141.5 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1134, allocations: 25.7 kB / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.1134, allocations: 84.14 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.1135, allocations: 7.922 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.1135, allocations: 21.62 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1136, allocations: 318.8 kB / 362.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.1137, allocations: 7.984 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.1137, allocations: 39.38 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.1138, allocations: 43.36 kB / 362.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1138, allocations: 0 / 362.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.1139, allocations: 73.55 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.114, allocations: 4 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.114, allocations: 0 / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.114, allocations: 4 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.1141, allocations: 15.98 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1141, allocations: 0 / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.1141, allocations: 4 kB / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1141, allocations: 0 / 362.9 MB, free: 9 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 8.849e-05/0.1142, allocations: 129.8 kB / 363.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.1143, allocations: 49.59 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.1143, allocations: 12.25 kB / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1143, allocations: 0 / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1143, allocations: 3.938 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1144, allocations: 7.984 kB / 363.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1145, allocations: 165.6 kB / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1145, allocations: 3.984 kB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.1146, allocations: 8 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1146, allocations: 4 kB / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1146, allocations: 0 / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1146, allocations: 0 / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1146, allocations: 7.938 kB / 363.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.1148, allocations: 168.2 kB / 363.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.1149, allocations: 93 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1149, allocations: 8 kB / 363.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.115, allocations: 0 / 363.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.115, allocations: 3.984 kB / 363.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.115, allocations: 4 kB / 363.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.1151, allocations: 99.27 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1151, allocations: 4 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1153, allocations: 4 kB / 363.7 MB, free: 8.129 MB / 302.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.0001226/0.1154, allocations: 95.25 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1156, allocations: 39.91 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1156, allocations: 0 / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.1157, allocations: 4 kB / 363.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.116, allocations: 30.3 kB / 363.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.1164, allocations: 150.3 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1167, allocations: 0.6932 MB / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.842e-05/0.1168, allocations: 256 / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.1168, allocations: 11.44 kB / 364.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1168, allocations: 4 kB / 364.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of Templates: time 0.003071/0.1199, allocations: 0.4966 MB / 365.2 MB, free: 6.555 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches