Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2471, allocations: 50.54 MB / 410.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002748/0.2499, allocations: 1.526 MB / 411.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.2503, allocations: 139.5 kB / 411.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.2503, allocations: 3.938 kB / 411.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.2504, allocations: 3.938 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.2505, allocations: 3.938 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.2507, allocations: 47.02 kB / 411.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.2508, allocations: 31.92 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2509, allocations: 15.92 kB / 412 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.2509, allocations: 19.92 kB / 412 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.251, allocations: 11.92 kB / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.251, allocations: 4 kB / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.251, allocations: 4 kB / 412 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.251, allocations: 7.938 kB / 412 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.2511, allocations: 23.86 kB / 412 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2512, allocations: 51.55 kB / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2512, allocations: 0 / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2512, allocations: 4 kB / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2512, allocations: 0 / 412.1 MB, free: 15.59 MB / 334.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.0004841/0.2517, allocations: 367.2 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2517, allocations: 8.031 kB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2518, allocations: 8.891 kB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.252, allocations: 196.2 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.252, allocations: 384 / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.252, allocations: 8.375 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.2523, allocations: 113.5 kB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2523, allocations: 192 / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2524, allocations: 7.938 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2524, allocations: 7.938 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.2524, allocations: 15.98 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2527, allocations: 257.8 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.253, allocations: 142.2 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.253, allocations: 29.77 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.253, allocations: 7.938 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2531, allocations: 30.56 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2531, allocations: 0 / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002461/0.2533, allocations: 77.56 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.2534, allocations: 85.17 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2535, allocations: 145.4 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2535, allocations: 25.7 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.2536, allocations: 84.14 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.2536, allocations: 7.953 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.2536, allocations: 17.72 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2538, allocations: 318.8 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.2538, allocations: 4 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.2539, allocations: 39.61 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.2539, allocations: 47.36 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2539, allocations: 8 kB / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.2541, allocations: 61.56 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2541, allocations: 7.984 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2541, allocations: 4.094 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2541, allocations: 3.984 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.2542, allocations: 11.94 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2542, allocations: 0 / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.2542, allocations: 7.953 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2542, allocations: 4.125 kB / 414.2 MB, free: 13.17 MB / 334.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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.45e-05/0.2543, allocations: 129.7 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.2544, allocations: 49.64 kB / 414.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.2544, allocations: 8.25 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2544, allocations: 4 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2544, allocations: 4 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2544, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.2546, allocations: 173.6 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2546, allocations: 0 / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.2547, allocations: 19.92 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2547, allocations: 3.938 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2547, allocations: 4 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2547, allocations: 3.938 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2547, allocations: 0 / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.2549, allocations: 168.3 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.2549, allocations: 93.09 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2549, allocations: 0 / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.255, allocations: 4 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.255, allocations: 0 / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.255, allocations: 0 / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.074e-05/0.2551, allocations: 107.2 kB / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2551, allocations: 0 / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.2553, allocations: 8 kB / 415 MB, free: 12.29 MB / 334.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0001014/0.2554, allocations: 103.2 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2556, allocations: 27.98 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2556, allocations: 3.938 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.2556, allocations: 7.984 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2559, allocations: 23.95 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.2562, allocations: 158.6 kB / 415.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2565, allocations: 0.6924 MB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.095e-05/0.2566, allocations: 0 / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.2566, allocations: 11.44 kB / 416 MB, free: 11.2 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2566, allocations: 0 / 416 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Templates: time 0.002774/0.2594, allocations: 0.4993 MB / 416.5 MB, free: 10.71 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches