Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.001726/0.001726, allocations: 113.8 kB / 17.07 MB, free: 5.973 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.002064/0.002064, allocations: 194.9 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.267/2.267, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 39.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4677, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003897/0.4716, allocations: 1.88 MB / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.4737, allocations: 1.064 MB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.4739, allocations: 7.938 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.4746, allocations: 161.6 kB / 403.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.4749, allocations: 107.6 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.4755, allocations: 215.2 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.4758, allocations: 183.5 kB / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4759, allocations: 33.55 kB / 403.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.4761, allocations: 79.62 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4762, allocations: 67.7 kB / 404 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4762, allocations: 8 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.4764, allocations: 59.89 kB / 404.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.4765, allocations: 43.84 kB / 404.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.4765, allocations: 63.55 kB / 404.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.4769, allocations: 212.9 kB / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4769, allocations: 7.984 kB / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4769, allocations: 0 / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4769, allocations: 0 / 404.4 MB, free: 4.637 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008096/0.4777, allocations: 0.4954 MB / 404.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4778, allocations: 15.89 kB / 404.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.4778, allocations: 38.69 kB / 404.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.4779, allocations: 20.66 kB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4783, allocations: 274.8 kB / 405.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4783, allocations: 8.375 kB / 405.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.4783, allocations: 7.938 kB / 405.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.4786, allocations: 138.7 kB / 405.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4787, allocations: 4 kB / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4787, allocations: 4 kB / 405.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4787, allocations: 0 / 405.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.4788, allocations: 43.89 kB / 405.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.4793, allocations: 358.3 kB / 405.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4795, allocations: 111.9 kB / 405.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.4796, allocations: 42.56 kB / 405.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4797, allocations: 3.938 kB / 405.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.4798, allocations: 71.39 kB / 406 MB, free: 2.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4798, allocations: 0 / 406 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003689/0.4802, allocations: 137.4 kB / 406.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4803, allocations: 144.4 kB / 406.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.4806, allocations: 269.2 kB / 406.5 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4806, allocations: 25.7 kB / 406.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.4807, allocations: 120 kB / 406.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4808, allocations: 11.91 kB / 406.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.4808, allocations: 29.61 kB / 406.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4809, allocations: 326.8 kB / 407.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.481, allocations: 27.92 kB / 407.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.4811, allocations: 74.19 kB / 407.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.4813, allocations: 80.22 kB / 407.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4813, allocations: 4.031 kB / 407.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002101/0.4815, allocations: 113.4 kB / 407.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4815, allocations: 8 kB / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4815, allocations: 0 / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/0.4816, allocations: 4 kB / 407.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.4817, allocations: 11.94 kB / 407.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4817, allocations: 7.984 kB / 407.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.4818, allocations: 11.88 kB / 407.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4818, allocations: 12.12 kB / 407.4 MB, free: 1.285 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001291/0.4819, allocations: 133.8 kB / 407.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.482, allocations: 65.36 kB / 407.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.4821, allocations: 21.7 kB / 407.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4821, allocations: 4 kB / 407.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4821, allocations: 0 / 407.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4821, allocations: 11.91 kB / 407.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.4823, allocations: 221.7 kB / 407.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4823, allocations: 8.062 kB / 407.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.4824, allocations: 4 kB / 407.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4824, allocations: 0 / 407.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4824, allocations: 4 kB / 407.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4824, allocations: 4 kB / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4824, allocations: 0 / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.4827, allocations: 162.6 kB / 408 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.4828, allocations: 112.8 kB / 408.1 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.4828, allocations: 0 / 408.1 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.4829, allocations: 11.92 kB / 408.1 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.4829, allocations: 11.94 kB / 408.2 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.483, allocations: 4 kB / 408.2 MB, free: 420 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.4832, allocations: 192.5 kB / 408.3 MB, free: 228 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4832, allocations: 3.938 kB / 408.4 MB, free: 224 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.4835, allocations: 31.98 kB / 408.4 MB, free: 192 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001452/0.4849, allocations: 0.9953 MB / 409.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4852, allocations: 71.92 kB / 409.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4852, allocations: 0 / 409.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.4853, allocations: 31.86 kB / 409.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.4857, allocations: 57.67 kB / 409.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.4883, allocations: 1.925 MB / 411.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.4888, allocations: 0.7318 MB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.4889, allocations: 21.53 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4891, allocations: 55.36 kB / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4891, allocations: 0 / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.5266, allocations: 4.597 MB / 416.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.96, allocations: 7.141 kB / 416.9 MB, free: 7.832 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches