Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 207.6 kB / 19.41 MB, free: 3.645 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.429/1.429, allocations: 227.7 MB / 247.9 MB, free: 10.22 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.001891/0.001891, allocations: 67.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2482, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003366/0.2516, allocations: 1.921 MB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2537, allocations: 1.216 MB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2538, allocations: 7.938 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.2544, allocations: 154.8 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.2548, allocations: 163.4 kB / 413.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.2553, allocations: 175.4 kB / 413.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.2555, allocations: 195.4 kB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2557, allocations: 21.67 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2558, allocations: 79.69 kB / 414.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2559, allocations: 75.62 kB / 414.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2559, allocations: 8 kB / 414.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2561, allocations: 71.89 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.2561, allocations: 43.84 kB / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.2562, allocations: 71.48 kB / 414.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.2566, allocations: 215 kB / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2566, allocations: 0 / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2566, allocations: 4 kB / 414.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2566, allocations: 0 / 414.6 MB, free: 13.03 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008138/0.2574, allocations: 0.5271 MB / 415.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2574, allocations: 12.03 kB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.2575, allocations: 28.78 kB / 415.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.2579, allocations: 278.9 kB / 415.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2579, allocations: 8.375 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.2579, allocations: 8.125 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.2583, allocations: 166.8 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2583, allocations: 0 / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2583, allocations: 4 kB / 415.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2583, allocations: 0 / 415.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2584, allocations: 39.92 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.259, allocations: 450.5 kB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.2592, allocations: 138.5 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.2593, allocations: 47.42 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.2594, allocations: 12 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.2595, allocations: 89.09 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.2595, allocations: 0 / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003949/0.2599, allocations: 165.4 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.26, allocations: 158.2 kB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.2604, allocations: 285.3 kB / 417 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2604, allocations: 25.7 kB / 417 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2605, allocations: 124.4 kB / 417.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2605, allocations: 15.91 kB / 417.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.2606, allocations: 37.66 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2608, allocations: 330.8 kB / 417.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.2608, allocations: 23.98 kB / 417.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.261, allocations: 82.84 kB / 417.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2611, allocations: 93.06 kB / 417.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2611, allocations: 0 / 417.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002317/0.2614, allocations: 125.8 kB / 417.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2614, allocations: 4 kB / 417.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2614, allocations: 4 kB / 417.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2614, allocations: 0 / 417.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.2615, allocations: 19.94 kB / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2615, allocations: 160 / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.2616, allocations: 31.81 kB / 417.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2616, allocations: 7.938 kB / 417.9 MB, free: 9.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001603/0.2617, allocations: 149.7 kB / 418 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2618, allocations: 69.56 kB / 418.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.933e-05/0.2619, allocations: 25.7 kB / 418.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2619, allocations: 0 / 418.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2619, allocations: 4 kB / 418.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.2619, allocations: 11.98 kB / 418.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.2622, allocations: 229.6 kB / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2622, allocations: 0 / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.2622, allocations: 11.94 kB / 418.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2622, allocations: 4 kB / 418.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2622, allocations: 0 / 418.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2622, allocations: 4 kB / 418.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2622, allocations: 0 / 418.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.2625, allocations: 183.3 kB / 418.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2626, allocations: 108.9 kB / 418.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.2627, allocations: 7.984 kB / 418.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.2627, allocations: 7.938 kB / 418.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.2628, allocations: 11.92 kB / 418.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2628, allocations: 4 kB / 418.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.263, allocations: 208.5 kB / 418.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.263, allocations: 0 / 418.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2633, allocations: 31.95 kB / 418.9 MB, free: 8.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001527/0.2648, allocations: 415.8 kB / 419.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.2651, allocations: 79.84 kB / 419.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2651, allocations: 4.312 kB / 419.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.2652, allocations: 23.98 kB / 419.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2656, allocations: 82.75 kB / 419.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.2662, allocations: 333.6 kB / 419.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.2666, allocations: 0.7321 MB / 420.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.165e-05/0.2666, allocations: 25.53 kB / 420.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.2667, allocations: 23.44 kB / 420.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2667, allocations: 3.938 kB / 420.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of Templates: time 0.007216/0.2739, allocations: 2.573 MB / 423.2 MB, free: 4.047 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches