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) 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 202.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.000304, allocations: 12 kB / 306.6 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 51.48 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001669/0.1112, allocations: 1.277 MB / 359.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006717/0.1119, allocations: 491.2 kB / 359.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.1119, allocations: 7.875 kB / 359.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.112, allocations: 0 / 359.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1121, allocations: 8 kB / 359.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1123, allocations: 43.81 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.1124, allocations: 31.91 kB / 359.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.1125, allocations: 4 kB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.1126, allocations: 27.91 kB / 359.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.1127, allocations: 19.92 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1127, allocations: 0 / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.1127, allocations: 4 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.1128, allocations: 15.92 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.1128, allocations: 33.64 kB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.818e-05/0.1129, allocations: 39.86 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1129, allocations: 0 / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1129, allocations: 4 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1129, allocations: 0 / 360.1 MB, free: 12.13 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.0003837/0.1133, allocations: 378.7 kB / 360.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1133, allocations: 8.031 kB / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1135, allocations: 23.89 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1137, allocations: 175 kB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1137, allocations: 8 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1137, allocations: 3.953 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.114, allocations: 121 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.114, allocations: 3.984 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.114, allocations: 0 / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.114, allocations: 3.984 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.1141, allocations: 27.98 kB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.1144, allocations: 265.7 kB / 361.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1145, allocations: 146.2 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1146, allocations: 0 / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.1146, allocations: 34.5 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1146, allocations: 0 / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.00023/0.1148, allocations: 85.72 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1149, allocations: 93.11 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.115, allocations: 140.1 kB / 361.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.115, allocations: 25.7 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.1151, allocations: 96.06 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.1151, allocations: 7.891 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.1151, allocations: 0 / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.1152, allocations: 314.8 kB / 362 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.1152, allocations: 15.98 kB / 362 MB, free: 9.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.1153, allocations: 35.44 kB / 362 MB, free: 9.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.1153, allocations: 11.98 kB / 362 MB, free: 9.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1154, allocations: 7.953 kB / 362 MB, free: 9.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.1155, allocations: 77.55 kB / 362.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1155, allocations: 4 kB / 362.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1155, allocations: 0 / 362.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1155, allocations: 4 kB / 362.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.1156, allocations: 8 kB / 362.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1156, allocations: 0 / 362.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1157, allocations: 16.02 kB / 362.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1157, allocations: 4 kB / 362.2 MB, free: 9.762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.1157, allocations: 113.8 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.1158, allocations: 53.58 kB / 362.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.1159, allocations: 12.25 kB / 362.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1159, allocations: 0 / 362.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1159, allocations: 0 / 362.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1159, allocations: 0 / 362.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.116, allocations: 181.5 kB / 362.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1161, allocations: 0 / 362.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.1161, allocations: 11.95 kB / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1161, allocations: 0 / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1161, allocations: 0 / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1161, allocations: 4 kB / 362.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1162, allocations: 3.984 kB / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1163, allocations: 186 kB / 362.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1164, allocations: 97.36 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1164, allocations: 0 / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1165, allocations: 4 kB / 362.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.1165, allocations: 3.938 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1165, allocations: 4 kB / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.1166, allocations: 111.2 kB / 362.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1166, allocations: 0 / 362.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1168, allocations: 8 kB / 362.9 MB, free: 8.867 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 (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 9.463e-05/0.1169, allocations: 95.25 kB / 363 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1171, allocations: 39.91 kB / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1171, allocations: 256 / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.1171, allocations: 15.98 kB / 363.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1174, allocations: 30.41 kB / 363.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.1177, allocations: 189.6 kB / 363.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.118, allocations: 0.6965 MB / 364 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.118, allocations: 7.906 kB / 364 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.118, allocations: 7.438 kB / 364 MB, free: 7.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.118, allocations: 0 / 364 MB, free: 7.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002283/0.1203, allocations: 456.8 kB / 364.5 MB, free: 7.285 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches