Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.86 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2592, allocations: 50.55 MB / 408.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003311/0.2626, allocations: 1.918 MB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2646, allocations: 1.208 MB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2647, allocations: 7.938 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.2653, allocations: 155.5 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.2656, allocations: 159.4 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.2661, allocations: 167.4 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2664, allocations: 199.4 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2665, allocations: 33.67 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2666, allocations: 79.69 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.2668, allocations: 75.62 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2668, allocations: 8 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2669, allocations: 63.91 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.267, allocations: 47.83 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.2671, allocations: 75.48 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.2674, allocations: 218.1 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2675, allocations: 0 / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2675, allocations: 0 / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2675, allocations: 8 kB / 413.2 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.0007427/0.2682, allocations: 0.5193 MB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2683, allocations: 12.03 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.2683, allocations: 34.75 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.2684, allocations: 24.8 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2687, allocations: 278.9 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2688, allocations: 12.38 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2688, allocations: 11.94 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.2691, allocations: 167.5 kB / 414.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2692, allocations: 0 / 414.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2692, allocations: 4 kB / 414.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2692, allocations: 7.984 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2693, allocations: 39.91 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.2699, allocations: 450.5 kB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.2701, allocations: 134.5 kB / 414.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2702, allocations: 63.36 kB / 415 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2703, allocations: 4 kB / 415 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.2704, allocations: 85.09 kB / 415 MB, free: 10.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.2704, allocations: 0 / 415 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003884/0.2708, allocations: 165.4 kB / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.271, allocations: 166.1 kB / 415.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.2713, allocations: 280.9 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2713, allocations: 25.7 kB / 415.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.2714, allocations: 124.5 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2715, allocations: 16.27 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.2715, allocations: 45.66 kB / 415.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2717, allocations: 326.8 kB / 416.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.2718, allocations: 19.98 kB / 416.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2719, allocations: 82.47 kB / 416.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.272, allocations: 89.11 kB / 416.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2721, allocations: 4 kB / 416.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002434/0.2723, allocations: 129.5 kB / 416.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2723, allocations: 7.938 kB / 416.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2723, allocations: 7.938 kB / 416.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2724, allocations: 0 / 416.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.2724, allocations: 15.98 kB / 416.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2725, allocations: 0 / 416.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.2725, allocations: 23.83 kB / 416.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2726, allocations: 4.312 kB / 416.5 MB, free: 9.32 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.0001396/0.2727, allocations: 153.9 kB / 416.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.2728, allocations: 73.55 kB / 416.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.2729, allocations: 21.7 kB / 416.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2729, allocations: 0 / 416.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2729, allocations: 4 kB / 416.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2729, allocations: 7.875 kB / 416.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.2731, allocations: 229.6 kB / 417 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2732, allocations: 0 / 417 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.2732, allocations: 7.984 kB / 417 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2732, allocations: 8.062 kB / 417 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2732, allocations: 4 kB / 417 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2732, allocations: 7.938 kB / 417 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2732, allocations: 0 / 417 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.2735, allocations: 175.3 kB / 417.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.2736, allocations: 116.9 kB / 417.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2737, allocations: 0 / 417.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.2737, allocations: 11.98 kB / 417.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.2738, allocations: 7.938 kB / 417.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2738, allocations: 4 kB / 417.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.274, allocations: 208.4 kB / 417.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.274, allocations: 0 / 417.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.2743, allocations: 31.95 kB / 417.6 MB, free: 8.156 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.001959/0.2763, allocations: 1.012 MB / 418.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.2765, allocations: 79.84 kB / 418.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2765, allocations: 0 / 418.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.2766, allocations: 27.98 kB / 418.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.277, allocations: 86.39 kB / 418.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.2795, allocations: 2.014 MB / 420.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.2799, allocations: 0.7396 MB / 421.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.497e-05/0.2799, allocations: 33.72 kB / 421.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.2801, allocations: 51.42 kB / 421.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2801, allocations: 0 / 421.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3053, allocations: 4.804 MB / 426.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.555, allocations: 11.05 kB / 426.4 MB, free: 15.37 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches