Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 105.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009311/0.0009312, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2516, allocations: 50.44 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002651/0.2543, allocations: 1.62 MB / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.2547, allocations: 139.5 kB / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.2548, allocations: 0 / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.2549, allocations: 7.938 kB / 408.8 MB, free: 26.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.255, allocations: 3.938 kB / 408.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2553, allocations: 31.97 kB / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.2554, allocations: 35.8 kB / 408.9 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2555, allocations: 25.05 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.2555, allocations: 12.5 kB / 408.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.2556, allocations: 19.91 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.2556, allocations: 3.062 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2556, allocations: 4 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.2557, allocations: 11.92 kB / 409 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.2557, allocations: 27.75 kB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.2559, allocations: 43.83 kB / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2559, allocations: 0 / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2559, allocations: 0 / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.2559, allocations: 0 / 409 MB, free: 25.85 MB / 298.7 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.0004933/0.2564, allocations: 372.8 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.2564, allocations: 8.594 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.2565, allocations: 8.844 kB / 409.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.2567, allocations: 184.2 kB / 409.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.2567, allocations: 8.375 kB / 409.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2567, allocations: 384 / 409.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.257, allocations: 121.4 kB / 409.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.257, allocations: 4.188 kB / 409.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.257, allocations: 3.938 kB / 409.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.257, allocations: 0 / 409.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.2571, allocations: 19.98 kB / 409.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.2574, allocations: 265.8 kB / 410 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2576, allocations: 134.2 kB / 410.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.2576, allocations: 25.77 kB / 410.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2577, allocations: 8 kB / 410.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2577, allocations: 42.44 kB / 410.2 MB, free: 24.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2577, allocations: 0 / 410.2 MB, free: 24.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002621/0.2579, allocations: 77.52 kB / 410.3 MB, free: 24.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.258, allocations: 77.11 kB / 410.4 MB, free: 24.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.2581, allocations: 137.8 kB / 410.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2581, allocations: 29.83 kB / 410.5 MB, free: 24.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.2582, allocations: 88.12 kB / 410.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.2582, allocations: 0 / 410.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2582, allocations: 21.62 kB / 410.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.2583, allocations: 322.8 kB / 410.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.2583, allocations: 12 kB / 411 MB, free: 23.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.2584, allocations: 35.42 kB / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.2585, allocations: 43.36 kB / 411 MB, free: 23.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2585, allocations: 0 / 411 MB, free: 23.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.2586, allocations: 73.59 kB / 411.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2586, allocations: 6.812 kB / 411.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2586, allocations: 3.938 kB / 411.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2586, allocations: 4 kB / 411.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.2587, allocations: 7.984 kB / 411.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2587, allocations: 4 kB / 411.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.2587, allocations: 0 / 411.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.2587, allocations: 4 kB / 411.1 MB, free: 23.44 MB / 298.7 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 5.807e-05/0.2588, allocations: 131.3 kB / 411.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.2589, allocations: 45.61 kB / 411.3 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.2589, allocations: 20.5 kB / 411.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2589, allocations: 0 / 411.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2589, allocations: 0 / 411.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.2589, allocations: 3.984 kB / 411.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2591, allocations: 173.5 kB / 411.5 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2591, allocations: 0 / 411.5 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.2591, allocations: 8 kB / 411.5 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2591, allocations: 0 / 411.5 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2591, allocations: 4 kB / 411.5 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2592, allocations: 7.984 kB / 411.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2592, allocations: 0 / 411.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2594, allocations: 0.7286 MB / 412.2 MB, free: 22.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.2595, allocations: 93.03 kB / 412.3 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2595, allocations: 4 kB / 412.3 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.2596, allocations: 0 / 412.3 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2596, allocations: 8 kB / 412.3 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2596, allocations: 3.938 kB / 412.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.2597, allocations: 103.2 kB / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2597, allocations: 0 / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.26, allocations: 8 kB / 412.5 MB, free: 21.96 MB / 298.7 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.382e-05/0.2601, allocations: 95.25 kB / 412.6 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.2602, allocations: 31.92 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2602, allocations: 0 / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.2603, allocations: 15.92 kB / 412.6 MB, free: 21.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.2607, allocations: 18.64 kB / 412.6 MB, free: 21.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.261, allocations: 283.3 kB / 412.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2612, allocations: 0.6887 MB / 413.6 MB, free: 20.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2612, allocations: 8 kB / 413.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.2613, allocations: 7.438 kB / 413.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2613, allocations: 0 / 413.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of Templates: time 0.002401/0.2637, allocations: 468.2 kB / 414.1 MB, free: 20.29 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches