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.0008692/0.0008692, allocations: 96.48 kB / 17.31 MB, free: 6.109 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.001071/0.00107, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.341/1.341, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 11.94 kB / 302.1 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07281/0.07307, allocations: 50.41 MB / 352.5 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001533/0.07463, allocations: 1.288 MB / 353.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.07532, allocations: 466.9 kB / 354.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.0754, allocations: 3.938 kB / 354.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.07544, allocations: 3.938 kB / 354.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.07555, allocations: 11.92 kB / 354.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.07578, allocations: 39.91 kB / 354.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.75e-05/0.07587, allocations: 35.86 kB / 354.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.07596, allocations: 23.94 kB / 354.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.07604, allocations: 23.86 kB / 354.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.07609, allocations: 15.86 kB / 354.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.07611, allocations: 0 / 354.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.07613, allocations: 4 kB / 354.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.07618, allocations: 11.98 kB / 354.4 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.07623, allocations: 45.52 kB / 354.5 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.609e-05/0.0763, allocations: 35.92 kB / 354.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.07631, allocations: 0 / 354.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07631, allocations: 4 kB / 354.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.07632, allocations: 0 / 354.5 MB, free: 1.449 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.000379/0.07671, allocations: 371.4 kB / 354.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.07675, allocations: 12.03 kB / 354.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.07679, allocations: 8.844 kB / 354.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.07695, allocations: 188.2 kB / 355.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.07697, allocations: 384 / 355.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.07699, allocations: 8.375 kB / 355.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.07725, allocations: 129.2 kB / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.07727, allocations: 0 / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.07728, allocations: 0 / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.07729, allocations: 0 / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.07739, allocations: 31.92 kB / 355.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.07766, allocations: 265.7 kB / 355.5 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.07785, allocations: 138.2 kB / 355.6 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.07793, allocations: 37.77 kB / 355.7 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.07796, allocations: 3.984 kB / 355.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.07798, allocations: 34.56 kB / 355.7 MB, free: 40 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.07799, allocations: 0 / 355.7 MB, free: 40 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002572/0.07825, allocations: 85.52 kB / 355.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.07831, allocations: 85.3 kB / 355.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.07842, allocations: 140.5 kB / 356 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.07844, allocations: 29.64 kB / 356 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.07848, allocations: 88.08 kB / 356.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.0785, allocations: 7.906 kB / 356.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.07853, allocations: 9.719 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.07862, allocations: 326.9 kB / 356.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.07868, allocations: 8 kB / 356.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.07874, allocations: 47.34 kB / 356.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.07884, allocations: 47.42 kB / 356.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.07886, allocations: 0 / 356.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.079, allocations: 81.58 kB / 356.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.07903, allocations: 8.031 kB / 356.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.07904, allocations: 4 kB / 356.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.07905, allocations: 4 kB / 356.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.07912, allocations: 11.98 kB / 356.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.07914, allocations: 0 / 356.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.07918, allocations: 4 kB / 356.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.0792, allocations: 4 kB / 356.7 MB, free: 14.98 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 6.801e-05/0.07927, allocations: 117.8 kB / 356.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.07935, allocations: 57.53 kB / 356.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.07939, allocations: 12.25 kB / 356.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.0794, allocations: 0 / 356.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.07941, allocations: 3.984 kB / 356.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.07941, allocations: 0 / 356.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.07957, allocations: 173.6 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.07958, allocations: 0 / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.07964, allocations: 8 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.07965, allocations: 0 / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.07966, allocations: 3.984 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.07967, allocations: 8 kB / 357 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.07968, allocations: 0 / 357 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.07986, allocations: 176.2 kB / 357.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.07992, allocations: 93 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.07994, allocations: 0 / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.08002, allocations: 8 kB / 357.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.08005, allocations: 0 / 357.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.08006, allocations: 4 kB / 357.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.08013, allocations: 107.2 kB / 357.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08013, allocations: 0 / 357.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.08038, allocations: 8 kB / 357.4 MB, free: 14.11 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 7.764e-05/0.08046, allocations: 99.19 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.0806, allocations: 43.91 kB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.08061, allocations: 0 / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.08066, allocations: 11.94 kB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.08099, allocations: 31.14 kB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.08132, allocations: 219.4 kB / 357.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.08153, allocations: 0.6965 MB / 358.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.08156, allocations: 7.438 kB / 358.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08157, allocations: 0 / 358.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Templates: time 0.001805/0.08338, allocations: 0.7359 MB / 359.3 MB, free: 12.2 MB / 302.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/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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches