Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001289/0.001289, allocations: 115.5 kB / 17.07 MB, free: 5.98 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.001198/0.001198, allocations: 185.4 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 1.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 39.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2705, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003586/0.2741, allocations: 1.868 MB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.2761, allocations: 1.157 MB / 403.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2762, allocations: 4 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2765, allocations: 67.64 kB / 403.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.2768, allocations: 91.59 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.2775, allocations: 264.4 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.2778, allocations: 171.5 kB / 403.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2779, allocations: 37.55 kB / 403.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.278, allocations: 75.69 kB / 404 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2782, allocations: 79.61 kB / 404 MB, free: 5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2782, allocations: 8 kB / 404 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.2784, allocations: 63.95 kB / 404.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.2784, allocations: 47.84 kB / 404.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.2785, allocations: 79.42 kB / 404.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2789, allocations: 242 kB / 404.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2789, allocations: 4 kB / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2789, allocations: 3.938 kB / 404.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2789, allocations: 0 / 404.5 MB, free: 4.562 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.0007671/0.2797, allocations: 0.531 MB / 405 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2797, allocations: 11.97 kB / 405 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.2798, allocations: 42.69 kB / 405.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.2799, allocations: 24.8 kB / 405.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.2803, allocations: 287.8 kB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2803, allocations: 4.375 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.2803, allocations: 15.92 kB / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.2806, allocations: 151.6 kB / 405.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2807, allocations: 3.938 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2807, allocations: 7.984 kB / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2807, allocations: 0 / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.2808, allocations: 35.98 kB / 405.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.2814, allocations: 390.3 kB / 406 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2816, allocations: 111.9 kB / 406.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.2817, allocations: 54.55 kB / 406.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2818, allocations: 4 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.2819, allocations: 75.33 kB / 406.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.282, allocations: 0 / 406.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003975/0.2824, allocations: 157.6 kB / 406.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2825, allocations: 154.2 kB / 406.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.2828, allocations: 330.6 kB / 406.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2829, allocations: 25.7 kB / 406.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.283, allocations: 128.1 kB / 407 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.283, allocations: 15.91 kB / 407 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.2831, allocations: 37.59 kB / 407 MB, free: 1.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2832, allocations: 338.9 kB / 407.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.2833, allocations: 23.94 kB / 407.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2834, allocations: 83.09 kB / 407.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2836, allocations: 96.22 kB / 407.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2836, allocations: 0 / 407.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/0.2839, allocations: 125.4 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2839, allocations: 8 kB / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2839, allocations: 0 / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2839, allocations: 4.125 kB / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2841, allocations: 19.98 kB / 407.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2841, allocations: 4 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.2842, allocations: 15.83 kB / 407.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2842, allocations: 4 kB / 407.7 MB, free: 0.9414 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.0001446/0.2843, allocations: 149.8 kB / 407.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.2844, allocations: 65.55 kB / 407.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.2845, allocations: 33.7 kB / 408 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2845, allocations: 4 kB / 408 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2845, allocations: 4 kB / 408 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2845, allocations: 3.938 kB / 408 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2847, allocations: 237.6 kB / 408.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2848, allocations: 3.984 kB / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.2848, allocations: 11.98 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2848, allocations: 4 kB / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2849, allocations: 0 / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2849, allocations: 0 / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2849, allocations: 4.062 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.2852, allocations: 170.5 kB / 408.4 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.2853, allocations: 120.9 kB / 408.5 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.2853, allocations: 4 kB / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.2854, allocations: 7.938 kB / 408.5 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.2855, allocations: 15.92 kB / 408.6 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2855, allocations: 8 kB / 408.6 MB, free: 0 / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2858, allocations: 241.9 kB / 408.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2858, allocations: 0 / 408.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.286, allocations: 32 kB / 408.8 MB, free: 15.73 MB / 334.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.001988/0.288, allocations: 1.023 MB / 409.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2883, allocations: 67.91 kB / 409.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2883, allocations: 4 kB / 409.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.2884, allocations: 27.98 kB / 409.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.2888, allocations: 70.48 kB / 410 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2914, allocations: 2.199 MB / 412.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2918, allocations: 0.7358 MB / 413 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.2919, allocations: 29.53 kB / 413 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.292, allocations: 59.41 kB / 413 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.292, allocations: 0 / 413 MB, free: 11.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.3187, allocations: 5.232 MB / 418.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.526, allocations: 0.625 kB / 418.3 MB, free: 6.422 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches