Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 89.58 kB / 16.31 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 182.8 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003401, allocations: 7.625 kB / 300.8 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 50.42 MB / 351.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001981/0.1112, allocations: 1.267 MB / 352.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.112, allocations: 455.2 kB / 352.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1122, allocations: 7.938 kB / 353 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1122, allocations: 0 / 353 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.1123, allocations: 15.91 kB / 353 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1126, allocations: 35.91 kB / 353 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.1127, allocations: 39.86 kB / 353 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.1128, allocations: 12.27 kB / 353.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.1129, allocations: 15.92 kB / 353.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.1129, allocations: 19.86 kB / 353.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.113, allocations: 0 / 353.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.113, allocations: 3.938 kB / 353.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.113, allocations: 19.98 kB / 353.1 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.1131, allocations: 33.64 kB / 353.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.206e-05/0.1131, allocations: 35.88 kB / 353.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1132, allocations: 0 / 353.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1132, allocations: 0 / 353.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1132, allocations: 0 / 353.2 MB, free: 9.883 MB / 286.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.0004543/0.1136, allocations: 367.1 kB / 353.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1137, allocations: 8.031 kB / 353.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1137, allocations: 11.86 kB / 353.6 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1139, allocations: 194.8 kB / 353.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.114, allocations: 8 kB / 353.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.114, allocations: 4 kB / 353.8 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.1142, allocations: 113 kB / 353.9 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1143, allocations: 4 kB / 353.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1143, allocations: 0 / 353.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1143, allocations: 11.94 kB / 353.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.1144, allocations: 27.92 kB / 353.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1147, allocations: 261.8 kB / 354.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1149, allocations: 142.2 kB / 354.3 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.115, allocations: 25.78 kB / 354.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1151, allocations: 7.984 kB / 354.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1151, allocations: 34.56 kB / 354.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.1151, allocations: 0 / 354.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002545/0.1153, allocations: 97.41 kB / 354.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.1154, allocations: 77.11 kB / 354.5 MB, free: 8.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1156, allocations: 148.6 kB / 354.7 MB, free: 8.129 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1156, allocations: 25.7 kB / 354.7 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1156, allocations: 84.14 kB / 354.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.1156, allocations: 7.906 kB / 354.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.1157, allocations: 0 / 354.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1158, allocations: 318.8 kB / 355.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.1158, allocations: 11.94 kB / 355.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.1159, allocations: 39.42 kB / 355.2 MB, free: 7.621 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.1159, allocations: 16 kB / 355.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1159, allocations: 0 / 355.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.1161, allocations: 73.61 kB / 355.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1161, allocations: 4 kB / 355.3 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1161, allocations: 0 / 355.3 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1161, allocations: 7.953 kB / 355.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.1162, allocations: 15.92 kB / 355.3 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1162, allocations: 0 / 355.3 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.1163, allocations: 8 kB / 355.3 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1163, allocations: 0 / 355.3 MB, free: 7.492 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/0.1164, allocations: 126 kB / 355.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.1164, allocations: 45.61 kB / 355.5 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.1165, allocations: 8.234 kB / 355.5 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1165, allocations: 7.953 kB / 355.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1165, allocations: 0 / 355.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1165, allocations: 0 / 355.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1167, allocations: 169.6 kB / 355.6 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1167, allocations: 4 kB / 355.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.1167, allocations: 15.92 kB / 355.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1168, allocations: 4 kB / 355.7 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1168, allocations: 8 kB / 355.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1168, allocations: 0 / 355.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1168, allocations: 3.953 kB / 355.7 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.117, allocations: 168.6 kB / 355.8 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.117, allocations: 101 kB / 355.9 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1171, allocations: 4 kB / 355.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.1171, allocations: 3.938 kB / 355.9 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1172, allocations: 7.984 kB / 356 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1172, allocations: 3.953 kB / 356 MB, free: 6.715 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.1173, allocations: 109.1 kB / 356.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1173, allocations: 0 / 356.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1175, allocations: 4 kB / 356.1 MB, free: 6.605 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.1176, allocations: 103.2 kB / 356.2 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1178, allocations: 39.91 kB / 356.2 MB, free: 6.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1178, allocations: 3.938 kB / 356.2 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.1178, allocations: 8 kB / 356.2 MB, free: 6.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1182, allocations: 22.73 kB / 356.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.1186, allocations: 195.7 kB / 356.4 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1188, allocations: 0.6926 MB / 357.1 MB, free: 5.484 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.1189, allocations: 7.938 kB / 357.1 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1189, allocations: 11.44 kB / 357.1 MB, free: 5.465 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1189, allocations: 0 / 357.1 MB, free: 5.465 MB / 286.1 MB Notification: Performance of Templates: time 0.002462/0.1214, allocations: 452.4 kB / 357.6 MB, free: 5.027 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches