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/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.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/Complex trunk/package.mo): time 0.001331/0.001331, 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.484/1.484, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 85.48 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2556, allocations: 50.46 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002847/0.2585, allocations: 1.63 MB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.2595, allocations: 0.4987 MB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.2596, allocations: 4 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.026e-05/0.2596, allocations: 7.938 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.2598, allocations: 11.86 kB / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.26, allocations: 39.91 kB / 409.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.509e-05/0.2602, allocations: 43.91 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2603, allocations: 15.97 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2604, allocations: 23.88 kB / 409.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.2605, allocations: 19.86 kB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2605, allocations: 11.98 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.2605, allocations: 4 kB / 409.4 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.2606, allocations: 15.92 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2606, allocations: 27.8 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2608, allocations: 51.75 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2608, allocations: 0 / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2608, allocations: 0 / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.2608, allocations: 0 / 409.5 MB, free: 25.4 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.0004317/0.2612, allocations: 380.8 kB / 409.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2613, allocations: 12.59 kB / 409.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.2614, allocations: 16.83 kB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.2616, allocations: 194.9 kB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2616, allocations: 4.375 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2616, allocations: 4.375 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2619, allocations: 117.3 kB / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2619, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.262, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.262, allocations: 7.938 kB / 410.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.2621, allocations: 23.97 kB / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.2624, allocations: 273.6 kB / 410.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.2626, allocations: 138.2 kB / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.2626, allocations: 33.75 kB / 410.6 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2626, allocations: 0 / 410.6 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.2627, allocations: 38.56 kB / 410.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2627, allocations: 0 / 410.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.2629, allocations: 77.61 kB / 410.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.263, allocations: 85.09 kB / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.2631, allocations: 137.7 kB / 411 MB, free: 23.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.2631, allocations: 25.7 kB / 411 MB, free: 23.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.2631, allocations: 88.12 kB / 411.1 MB, free: 23.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.2632, allocations: 8.125 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2632, allocations: 25.7 kB / 411.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.2632, allocations: 318.8 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.2633, allocations: 11.98 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.2633, allocations: 31.42 kB / 411.5 MB, free: 23.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.2634, allocations: 51.36 kB / 411.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2634, allocations: 0 / 411.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001112/0.2635, allocations: 69.47 kB / 411.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2636, allocations: 4 kB / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2636, allocations: 4.125 kB / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2636, allocations: 7.938 kB / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.2637, allocations: 11.98 kB / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2637, allocations: 0 / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.2637, allocations: 11.94 kB / 411.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2637, allocations: 0 / 411.6 MB, free: 22.94 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 7.263e-05/0.2638, allocations: 127.2 kB / 411.8 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.2639, allocations: 49.55 kB / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.2639, allocations: 20.23 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2639, allocations: 0 / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2639, allocations: 4 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2639, allocations: 0 / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2641, allocations: 165.6 kB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2641, allocations: 0 / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.2641, allocations: 19.92 kB / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2641, allocations: 0 / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2642, allocations: 4 kB / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2642, allocations: 0 / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2642, allocations: 0 / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2645, allocations: 0.7363 MB / 412.7 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.2645, allocations: 93 kB / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2645, allocations: 0 / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.2646, allocations: 4 kB / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2646, allocations: 8.312 kB / 412.8 MB, free: 21.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2646, allocations: 3.938 kB / 412.9 MB, free: 21.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.2647, allocations: 110.1 kB / 413 MB, free: 21.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2647, allocations: 4 kB / 413 MB, free: 21.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000307/0.265, allocations: 4 kB / 413 MB, free: 21.45 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.149e-05/0.2651, allocations: 99.25 kB / 413.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2652, allocations: 32.11 kB / 413.1 MB, free: 21.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2653, allocations: 4 kB / 413.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.2653, allocations: 7.984 kB / 413.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2657, allocations: 24 kB / 413.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.2661, allocations: 292.2 kB / 413.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2662, allocations: 0.7004 MB / 414.1 MB, free: 20.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.2662, allocations: 4 kB / 414.1 MB, free: 20.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.2663, allocations: 11.44 kB / 414.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2663, allocations: 0 / 414.1 MB, free: 20.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002395/0.2687, allocations: 499.1 kB / 414.6 MB, free: 19.72 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches