Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111 kB / 17.06 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001566, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.848/1.848, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 51.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3373, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.005178/0.3425, allocations: 1.905 MB / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3451, allocations: 1.075 MB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.3454, allocations: 3.938 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008638/0.3463, allocations: 155.5 kB / 403.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005061/0.3468, allocations: 115.5 kB / 403.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.3477, allocations: 200.6 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.3482, allocations: 187.5 kB / 403.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3483, allocations: 33.48 kB / 403.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.3486, allocations: 83.62 kB / 404 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.3488, allocations: 67.7 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.3488, allocations: 8 kB / 404 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.349, allocations: 59.95 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3492, allocations: 51.78 kB / 404.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.3494, allocations: 75.47 kB / 404.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.3498, allocations: 209 kB / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3499, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3499, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3499, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.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.00105/0.3509, allocations: 0.5187 MB / 404.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.351, allocations: 8.031 kB / 405 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.3511, allocations: 46.73 kB / 405 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.3512, allocations: 20.66 kB / 405 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.3517, allocations: 266.8 kB / 405.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3517, allocations: 12.36 kB / 405.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3517, allocations: 7.938 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.3522, allocations: 163.5 kB / 405.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3522, allocations: 0 / 405.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3523, allocations: 4 kB / 405.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3523, allocations: 4 kB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3524, allocations: 39.86 kB / 405.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009229/0.3534, allocations: 446.5 kB / 405.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.3538, allocations: 134.5 kB / 406.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.354, allocations: 55.42 kB / 406.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.354, allocations: 3.984 kB / 406.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.3543, allocations: 105 kB / 406.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.3543, allocations: 0 / 406.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005905/0.3549, allocations: 165.2 kB / 406.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.355, allocations: 154.6 kB / 406.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.3554, allocations: 276.9 kB / 406.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3555, allocations: 33.7 kB / 406.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3556, allocations: 116.4 kB / 407 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3556, allocations: 19.8 kB / 407 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.3557, allocations: 33.62 kB / 407 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3559, allocations: 330.8 kB / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.356, allocations: 19.98 kB / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3561, allocations: 82.8 kB / 407.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3564, allocations: 89.11 kB / 407.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3564, allocations: 0 / 407.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003191/0.3567, allocations: 125.4 kB / 407.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3567, allocations: 8 kB / 407.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3567, allocations: 0 / 407.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3568, allocations: 4 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3569, allocations: 16.08 kB / 407.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3569, allocations: 8 kB / 407.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.357, allocations: 15.88 kB / 407.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3571, allocations: 4 kB / 407.7 MB, free: 0.9531 MB / 318.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.0001825/0.3573, allocations: 142.3 kB / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.3574, allocations: 73.34 kB / 407.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.3575, allocations: 25.7 kB / 407.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3575, allocations: 0 / 407.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3575, allocations: 8.062 kB / 407.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3575, allocations: 3.938 kB / 407.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3578, allocations: 229.9 kB / 408.2 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3579, allocations: 4 kB / 408.2 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.3579, allocations: 4 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3579, allocations: 4 kB / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3579, allocations: 0 / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.358, allocations: 7.938 kB / 408.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.358, allocations: 0 / 408.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.3583, allocations: 183.2 kB / 408.4 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3585, allocations: 104.9 kB / 408.5 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.3585, allocations: 11.94 kB / 408.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.3586, allocations: 4 kB / 408.5 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3587, allocations: 11.92 kB / 408.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3587, allocations: 12 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.359, allocations: 200.4 kB / 408.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.359, allocations: 0 / 408.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.3595, allocations: 24 kB / 408.7 MB, free: 15.81 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.001998/0.3615, allocations: 1.027 MB / 409.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.3618, allocations: 83.84 kB / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3618, allocations: 0 / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3619, allocations: 32.3 kB / 409.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.3625, allocations: 75.62 kB / 409.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.3659, allocations: 1.976 MB / 411.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3663, allocations: 0.7358 MB / 412.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.3665, allocations: 21.55 kB / 412.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3666, allocations: 47.36 kB / 412.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3666, allocations: 0 / 412.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.3994, allocations: 4.798 MB / 417.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.43, allocations: 10.86 kB / 417.5 MB, free: 7.094 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches