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.001037/0.001037, allocations: 96.03 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 206.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002496/0.0002496, allocations: 7.984 kB / 308.4 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.09914, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002169/0.1013, allocations: 1.297 MB / 361.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1024, allocations: 0.5183 MB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1026, allocations: 0 / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.1026, allocations: 7.922 kB / 361.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1028, allocations: 4 kB / 361.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1032, allocations: 51.77 kB / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1033, allocations: 43.91 kB / 361.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1034, allocations: 23.97 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1035, allocations: 19.88 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1036, allocations: 15.86 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1037, allocations: 4 kB / 361.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.1037, allocations: 7.984 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1038, allocations: 19.86 kB / 361.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.1038, allocations: 45.52 kB / 362 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.104, allocations: 39.92 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.104, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.104, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.104, allocations: 0 / 362 MB, free: 11.16 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.0005131/0.1045, allocations: 379.5 kB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1046, allocations: 8.031 kB / 362.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1047, allocations: 16.84 kB / 362.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.105, allocations: 190.8 kB / 362.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.105, allocations: 12.31 kB / 362.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.105, allocations: 8.312 kB / 362.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1053, allocations: 121.3 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1054, allocations: 0 / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.1054, allocations: 3.984 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1054, allocations: 0 / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1055, allocations: 27.98 kB / 362.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1059, allocations: 269.6 kB / 363 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1061, allocations: 142.3 kB / 363.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.1062, allocations: 37.69 kB / 363.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1062, allocations: 0 / 363.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1063, allocations: 34.56 kB / 363.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1063, allocations: 0 / 363.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002873/0.1066, allocations: 89.52 kB / 363.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1066, allocations: 85.09 kB / 363.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1068, allocations: 134.2 kB / 363.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1068, allocations: 25.7 kB / 363.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.1068, allocations: 88.14 kB / 363.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1069, allocations: 11.89 kB / 363.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.1069, allocations: 13.84 kB / 363.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.107, allocations: 318.8 kB / 364 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1071, allocations: 11.98 kB / 364 MB, free: 8.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1072, allocations: 35.42 kB / 364 MB, free: 8.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1073, allocations: 55.3 kB / 364.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1073, allocations: 4 kB / 364.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001524/0.1075, allocations: 69.56 kB / 364.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1075, allocations: 11.94 kB / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1075, allocations: 0 / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1075, allocations: 0 / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.1076, allocations: 11.98 kB / 364.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1076, allocations: 4 kB / 364.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.1077, allocations: 8 kB / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1077, allocations: 0 / 364.2 MB, free: 8.684 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.907e-05/0.1078, allocations: 129.8 kB / 364.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.1079, allocations: 53.53 kB / 364.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.1079, allocations: 12.25 kB / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1079, allocations: 0 / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1079, allocations: 7.938 kB / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1079, allocations: 0 / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1081, allocations: 177.5 kB / 364.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1082, allocations: 0 / 364.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.1082, allocations: 15.98 kB / 364.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1082, allocations: 4 kB / 364.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.1083, allocations: 0 / 364.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1083, allocations: 0 / 364.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1083, allocations: 0 / 364.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1085, allocations: 172.3 kB / 364.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1085, allocations: 93 kB / 364.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1086, allocations: 8 kB / 364.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1086, allocations: 3.984 kB / 364.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1087, allocations: 4 kB / 364.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1087, allocations: 0 / 364.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.1088, allocations: 109.5 kB / 365 MB, free: 7.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1088, allocations: 0 / 365 MB, free: 7.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.109, allocations: 12 kB / 365 MB, free: 7.789 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.0001785/0.1092, allocations: 99.25 kB / 365.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1094, allocations: 31.92 kB / 365.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1094, allocations: 0 / 365.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.1095, allocations: 11.98 kB / 365.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.1099, allocations: 28.34 kB / 365.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.1105, allocations: 231.5 kB / 365.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1109, allocations: 0.6926 MB / 366.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1109, allocations: 11.38 kB / 366.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1109, allocations: 0 / 366.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of Templates: time 0.002964/0.1139, allocations: 0.7522 MB / 366.8 MB, free: 5.871 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches