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.001779/0.00178, allocations: 115.9 kB / 17.06 MB, free: 5.816 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.001725/0.001725, allocations: 196 kB / 18.01 MB, free: 4.938 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2571, allocations: 49.45 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003367/0.2605, allocations: 1.887 MB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2623, allocations: 1.068 MB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2625, allocations: 7.938 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.2631, allocations: 147.6 kB / 403.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.2634, allocations: 115.5 kB / 403.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.264, allocations: 209.7 kB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.2642, allocations: 175.5 kB / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2643, allocations: 33.55 kB / 403.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2645, allocations: 79.62 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2646, allocations: 67.7 kB / 404 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.2646, allocations: 8 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2648, allocations: 59.89 kB / 404.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.2649, allocations: 47.84 kB / 404.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.2649, allocations: 71.48 kB / 404.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.2653, allocations: 202.2 kB / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2653, allocations: 0 / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2653, allocations: 0 / 404.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2653, allocations: 4 kB / 404.4 MB, free: 4.641 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.0007578/0.266, allocations: 0.5077 MB / 404.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2661, allocations: 8.031 kB / 404.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.2661, allocations: 38.73 kB / 404.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.2662, allocations: 32.73 kB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.2666, allocations: 266.9 kB / 405.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2666, allocations: 8.375 kB / 405.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2666, allocations: 15.91 kB / 405.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.2669, allocations: 144.5 kB / 405.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.267, allocations: 4 kB / 405.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.267, allocations: 0 / 405.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.267, allocations: 0 / 405.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2671, allocations: 39.91 kB / 405.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.2676, allocations: 358.5 kB / 405.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.2679, allocations: 103.9 kB / 405.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.268, allocations: 46.56 kB / 405.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.268, allocations: 7.938 kB / 406 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.2682, allocations: 75.34 kB / 406 MB, free: 2.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.2682, allocations: 0 / 406 MB, free: 2.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003789/0.2686, allocations: 137.8 kB / 406.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.2687, allocations: 136.5 kB / 406.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.269, allocations: 264.9 kB / 406.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.269, allocations: 29.7 kB / 406.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.2691, allocations: 116.1 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.2691, allocations: 23.83 kB / 406.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.2692, allocations: 29.72 kB / 406.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2694, allocations: 330.8 kB / 407.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.2694, allocations: 20.25 kB / 407.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2695, allocations: 73.92 kB / 407.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2697, allocations: 76.27 kB / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2697, allocations: 0 / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002239/0.2699, allocations: 117.5 kB / 407.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2699, allocations: 4 kB / 407.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.27, allocations: 0 / 407.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.27, allocations: 7.984 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.2701, allocations: 12.12 kB / 407.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2701, allocations: 11.94 kB / 407.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.2702, allocations: 11.89 kB / 407.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2702, allocations: 7.938 kB / 407.4 MB, free: 1.277 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.000131/0.2703, allocations: 141.8 kB / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/0.2704, allocations: 65.53 kB / 407.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.2705, allocations: 21.7 kB / 407.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2705, allocations: 4 kB / 407.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2705, allocations: 4.062 kB / 407.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2705, allocations: 3.938 kB / 407.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.2707, allocations: 229.6 kB / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2708, allocations: 0 / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.2708, allocations: 7.984 kB / 407.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2708, allocations: 0 / 407.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2708, allocations: 4 kB / 407.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2708, allocations: 64 / 407.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2708, allocations: 4 kB / 407.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.2711, allocations: 158.6 kB / 408 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.2712, allocations: 112.9 kB / 408.1 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.2713, allocations: 8 kB / 408.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.2713, allocations: 0 / 408.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.2714, allocations: 15.86 kB / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2714, allocations: 4 kB / 408.2 MB, free: 408 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.2716, allocations: 204.5 kB / 408.4 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.2716, allocations: 0 / 408.4 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.2719, allocations: 23.94 kB / 408.4 MB, free: 180 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.001954/0.2738, allocations: 1.012 MB / 409.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.2741, allocations: 63.91 kB / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2741, allocations: 0 / 409.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.2742, allocations: 31.92 kB / 409.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.2746, allocations: 57.62 kB / 409.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.277, allocations: 1.932 MB / 411.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2773, allocations: 0.728 MB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.2774, allocations: 29.52 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.2775, allocations: 47.42 kB / 412.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2775, allocations: 0 / 412.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.3038, allocations: 4.551 MB / 416.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.536, allocations: 9.953 kB / 416.9 MB, free: 7.855 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