Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004224/0.2584, allocations: 1.523 MB / 411.4 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005548/0.259, allocations: 135.7 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2591, allocations: 0 / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.2592, allocations: 7.875 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.2594, allocations: 11.92 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.2598, allocations: 39.91 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2599, allocations: 31.91 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2601, allocations: 12 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.2601, allocations: 23.75 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.2602, allocations: 15.86 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2603, allocations: 4 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.2603, allocations: 4 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.2603, allocations: 11.94 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.2604, allocations: 19.86 kB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.2606, allocations: 51.75 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2606, allocations: 0 / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2606, allocations: 0 / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2607, allocations: 0 / 411.8 MB, free: 15.72 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.0005842/0.2612, allocations: 367.1 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2613, allocations: 8.031 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.2614, allocations: 8.844 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.2617, allocations: 197.4 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2618, allocations: 384 / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2618, allocations: 8.375 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.2622, allocations: 121.6 kB / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2622, allocations: 192 / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.2623, allocations: 3.938 kB / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2623, allocations: 4 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2624, allocations: 15.92 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.2629, allocations: 265.7 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.2632, allocations: 142.2 kB / 412.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.2633, allocations: 29.77 kB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2634, allocations: 4 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2634, allocations: 30.56 kB / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2634, allocations: 4 kB / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000372/0.2638, allocations: 69.61 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.2639, allocations: 85.05 kB / 413.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2641, allocations: 134.1 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2641, allocations: 33.7 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.2642, allocations: 92.06 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2643, allocations: 4 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.2643, allocations: 17.72 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2645, allocations: 318.8 kB / 413.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.2646, allocations: 4 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.2647, allocations: 43.36 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.2649, allocations: 47.36 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2649, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002642/0.2652, allocations: 69.47 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2652, allocations: 8 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2652, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.2653, allocations: 3.984 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.2654, allocations: 8 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.2654, allocations: 7.938 kB / 413.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.2655, allocations: 8 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2655, allocations: 4 kB / 413.9 MB, free: 13.3 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 0.0001387/0.2657, allocations: 129.8 kB / 414 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2658, allocations: 45.61 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.2659, allocations: 12.23 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2659, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.266, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.266, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.2663, allocations: 177.5 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2663, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/0.2664, allocations: 8 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2664, allocations: 336 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2664, allocations: 7.984 kB / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2664, allocations: 3.938 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.2665, allocations: 4 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.2668, allocations: 168.2 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.2669, allocations: 85.09 kB / 414.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2669, allocations: 11.92 kB / 414.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2671, allocations: 8 kB / 414.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.2671, allocations: 0 / 414.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2671, allocations: 4 kB / 414.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.2673, allocations: 102.8 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2673, allocations: 0 / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000443/0.2678, allocations: 8 kB / 414.7 MB, free: 12.43 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.0001358/0.2679, allocations: 99.17 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.2682, allocations: 31.98 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2682, allocations: 0 / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.2683, allocations: 11.92 kB / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.2688, allocations: 30.53 kB / 414.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.2693, allocations: 180.1 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.2697, allocations: 0.6888 MB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.2698, allocations: 15.44 kB / 415.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2698, allocations: 0 / 415.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Templates: time 0.003318/0.2731, allocations: 0.6932 MB / 416.4 MB, free: 10.62 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches