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.001123/0.001123, allocations: 97.45 kB / 17 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 193 kB / 17.9 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002484, allocations: 4 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.109, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00196/0.1111, allocations: 1.293 MB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.112, allocations: 0.5342 MB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.1121, allocations: 0 / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.1121, allocations: 3.938 kB / 360.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.1123, allocations: 11.92 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.1126, allocations: 55.81 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1127, allocations: 43.8 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1128, allocations: 24.16 kB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1129, allocations: 15.92 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.113, allocations: 23.86 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.113, allocations: 0 / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.1131, allocations: 4 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.1131, allocations: 15.92 kB / 360.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1131, allocations: 33.7 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.805e-05/0.1132, allocations: 35.92 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1132, allocations: 4 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1133, allocations: 0 / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1133, allocations: 4 kB / 360.7 MB, free: 11.29 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.0004333/0.1137, allocations: 375.2 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1138, allocations: 8.031 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1139, allocations: 23.88 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1141, allocations: 195.4 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1141, allocations: 0 / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1141, allocations: 8 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.1144, allocations: 117.8 kB / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1144, allocations: 0 / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1145, allocations: 0 / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1145, allocations: 4 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.1146, allocations: 35.91 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1149, allocations: 270.5 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.115, allocations: 79.73 kB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.1151, allocations: 34.58 kB / 361.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1151, allocations: 4 kB / 361.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1151, allocations: 42.55 kB / 361.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1152, allocations: 3.938 kB / 361.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.1154, allocations: 85.52 kB / 362 MB, free: 9.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.1155, allocations: 119.1 kB / 362.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1156, allocations: 142.3 kB / 362.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1157, allocations: 29.7 kB / 362.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1157, allocations: 88.14 kB / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.1157, allocations: 0 / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.1157, allocations: 0 / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.1158, allocations: 322.8 kB / 362.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.1159, allocations: 8 kB / 362.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.1159, allocations: 39.42 kB / 362.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.116, allocations: 19.98 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.116, allocations: 0 / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.1161, allocations: 77.42 kB / 362.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1162, allocations: 8 kB / 362.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1162, allocations: 0 / 362.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1162, allocations: 3.984 kB / 362.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.1163, allocations: 8 kB / 362.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1163, allocations: 4 kB / 362.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.1163, allocations: 8.125 kB / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1164, allocations: 0 / 362.9 MB, free: 8.883 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 7.66e-05/0.1164, allocations: 121.8 kB / 363 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.1165, allocations: 57.48 kB / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.1166, allocations: 15.81 kB / 363 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1166, allocations: 0 / 363 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1166, allocations: 0 / 363 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1166, allocations: 4 kB / 363 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1167, allocations: 165.7 kB / 363.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1168, allocations: 12.05 kB / 363.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1168, allocations: 8 kB / 363.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1168, allocations: 0 / 363.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1168, allocations: 7.953 kB / 363.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.1169, allocations: 4 kB / 363.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1169, allocations: 3.938 kB / 363.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.117, allocations: 177.2 kB / 363.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.1171, allocations: 93 kB / 363.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1171, allocations: 7.984 kB / 363.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1172, allocations: 4.094 kB / 363.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1172, allocations: 7.984 kB / 363.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1173, allocations: 0 / 363.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.1173, allocations: 123.2 kB / 363.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1173, allocations: 0 / 363.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1176, allocations: 7.938 kB / 363.7 MB, free: 7.973 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 (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.0001014/0.1177, allocations: 99.19 kB / 363.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1178, allocations: 35.97 kB / 363.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1178, allocations: 256 / 363.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.1179, allocations: 19.94 kB / 363.8 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1182, allocations: 20.02 kB / 363.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.1186, allocations: 202.4 kB / 364 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1188, allocations: 0.7068 MB / 364.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.1189, allocations: 4.188 kB / 364.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.1189, allocations: 7.438 kB / 364.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1189, allocations: 0 / 364.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of Templates: time 0.002568/0.1215, allocations: 0.5284 MB / 365.3 MB, free: 6.297 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