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.001214/0.001214, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001315, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.56 kB / 307.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08227, allocations: 50.53 MB / 358.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002816/0.08512, allocations: 1.583 MB / 359.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.08607, allocations: 0.5299 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.08617, allocations: 3.938 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.79e-05/0.08624, allocations: 3.938 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.08638, allocations: 19.86 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.0867, allocations: 47.83 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.0868, allocations: 43.86 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.0869, allocations: 23.95 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.08703, allocations: 19.92 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.0871, allocations: 27.86 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.08712, allocations: 0 / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.08717, allocations: 12 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.08723, allocations: 11.94 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.08728, allocations: 27.78 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.08741, allocations: 63.69 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.08742, allocations: 0 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08743, allocations: 0 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.08743, allocations: 0 / 360.6 MB, free: 11.68 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.0004352/0.08787, allocations: 391.3 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.08792, allocations: 8.031 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.08808, allocations: 16.83 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.08826, allocations: 188.3 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.08828, allocations: 384 / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.08829, allocations: 4.375 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.08857, allocations: 133.2 kB / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.08859, allocations: 4 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.08861, allocations: 0 / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.08862, allocations: 0 / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.0887, allocations: 19.98 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.08899, allocations: 269.7 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.08918, allocations: 138.2 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.08926, allocations: 29.78 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.08928, allocations: 0 / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.08931, allocations: 46.48 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.08932, allocations: 0 / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002464/0.08957, allocations: 77.7 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.08963, allocations: 85.09 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.08974, allocations: 144.5 kB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.08976, allocations: 25.7 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.08981, allocations: 88.27 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.08983, allocations: 0 / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.08987, allocations: 25.62 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.08997, allocations: 318.8 kB / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.09001, allocations: 4 kB / 362.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.09007, allocations: 35.44 kB / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.09017, allocations: 55.3 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.09018, allocations: 0 / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.09033, allocations: 65.73 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.09036, allocations: 14.91 kB / 362.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.09037, allocations: 0 / 362.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.09039, allocations: 7.938 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.09047, allocations: 11.92 kB / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.09048, allocations: 4 kB / 362.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.09053, allocations: 7.906 kB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.09054, allocations: 4 kB / 362.7 MB, free: 9.207 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 7.671e-05/0.09063, allocations: 125.7 kB / 362.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.0907, allocations: 45.7 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.09075, allocations: 16.23 kB / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.09076, allocations: 0 / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.09077, allocations: 7.938 kB / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.09078, allocations: 4 kB / 362.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.09094, allocations: 173.5 kB / 363.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.09095, allocations: 0 / 363.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.09101, allocations: 11.98 kB / 363.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.09102, allocations: 0 / 363.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.09103, allocations: 4 kB / 363.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09104, allocations: 0 / 363.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09105, allocations: 4 kB / 363.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.09122, allocations: 172.2 kB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.09129, allocations: 89.09 kB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.09131, allocations: 0 / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.09138, allocations: 4 kB / 363.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.09142, allocations: 3.938 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.09144, allocations: 11.98 kB / 363.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.377e-05/0.0915, allocations: 106.2 kB / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09151, allocations: 0 / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.09175, allocations: 8 kB / 363.5 MB, free: 8.328 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 9.061e-05/0.09184, allocations: 95.25 kB / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.09199, allocations: 35.91 kB / 363.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09201, allocations: 4.25 kB / 363.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.09205, allocations: 4 kB / 363.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.09247, allocations: 27.95 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.09282, allocations: 213 kB / 363.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.09305, allocations: 0.7001 MB / 364.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.09309, allocations: 11.44 kB / 364.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09309, allocations: 0 / 364.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of Templates: time 0.001953/0.09505, allocations: 0.7551 MB / 365.3 MB, free: 6.418 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