Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",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.001485/0.001485, allocations: 104.2 kB / 17.06 MB, free: 6.027 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.001279/0.00128, allocations: 196 kB / 18 MB, free: 5.109 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.907/1.907, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 43.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.429, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.006186/0.4352, allocations: 1.68 MB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.436, allocations: 167.5 kB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.4362, allocations: 0 / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.833e-05/0.4363, allocations: 11.86 kB / 402.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.4366, allocations: 7.938 kB / 402.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.4371, allocations: 47.83 kB / 402.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.4373, allocations: 51.84 kB / 402.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.4375, allocations: 31.97 kB / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.4376, allocations: 23.92 kB / 402.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.4377, allocations: 27.86 kB / 402.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.4377, allocations: 8 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.4378, allocations: 4 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.4379, allocations: 15.92 kB / 402.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.4379, allocations: 35.73 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.4382, allocations: 71.67 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4382, allocations: 3.938 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4382, allocations: 0 / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.4382, allocations: 0 / 402.4 MB, free: 6.633 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007702/0.439, allocations: 403.3 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.4391, allocations: 8.031 kB / 402.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.4392, allocations: 38.75 kB / 402.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.4392, allocations: 12.83 kB / 402.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.4397, allocations: 196.1 kB / 403.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4397, allocations: 384 / 403.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.4397, allocations: 8.375 kB / 403.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.4403, allocations: 170.3 kB / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4404, allocations: 3.938 kB / 403.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4404, allocations: 0 / 403.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.4404, allocations: 4 kB / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.4406, allocations: 35.91 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.4413, allocations: 373.8 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.4417, allocations: 123.9 kB / 403.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.4419, allocations: 54.61 kB / 403.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.4419, allocations: 8.141 kB / 403.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.442, allocations: 30.56 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.442, allocations: 3.938 kB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005591/0.4426, allocations: 125.7 kB / 404 MB, free: 4.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.4427, allocations: 110.8 kB / 404.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4429, allocations: 136.3 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4429, allocations: 25.7 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.443, allocations: 107.9 kB / 404.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.4431, allocations: 0 / 404.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.4431, allocations: 29.88 kB / 404.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4433, allocations: 326.8 kB / 404.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.4434, allocations: 15.98 kB / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4436, allocations: 67.66 kB / 404.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.4438, allocations: 99.59 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4438, allocations: 0 / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003744/0.4442, allocations: 109.4 kB / 405 MB, free: 3.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4443, allocations: 4 kB / 405 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4443, allocations: 4.188 kB / 405 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.4443, allocations: 8.266 kB / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.4445, allocations: 19.94 kB / 405 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.4445, allocations: 11.92 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4446, allocations: 8 kB / 405 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.4447, allocations: 4 kB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001572/0.4448, allocations: 121.8 kB / 405.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.4451, allocations: 81.52 kB / 405.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.4452, allocations: 16.7 kB / 405.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4452, allocations: 4 kB / 405.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4452, allocations: 4 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4452, allocations: 0 / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.4457, allocations: 189.5 kB / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4457, allocations: 0 / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.4458, allocations: 19.98 kB / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4459, allocations: 0 / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4459, allocations: 0 / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4459, allocations: 4 kB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4459, allocations: 0 / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.4465, allocations: 324.1 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.4467, allocations: 96.94 kB / 405.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.4468, allocations: 4 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.447, allocations: 4 kB / 405.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.4471, allocations: 8 kB / 405.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.4471, allocations: 4 kB / 405.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.4472, allocations: 105.9 kB / 406 MB, free: 2.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4472, allocations: 3.938 kB / 406 MB, free: 2.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005742/0.4478, allocations: 16 kB / 406 MB, free: 2.566 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001123/0.449, allocations: 0.8459 MB / 406.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.4493, allocations: 60.03 kB / 406.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4493, allocations: 8.5 kB / 406.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.4494, allocations: 8 kB / 407 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008063/0.4502, allocations: 51.89 kB / 407 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.4529, allocations: 1.578 MB / 408.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4533, allocations: 0.6963 MB / 409.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.405e-05/0.4534, allocations: 12.66 kB / 409.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.4535, allocations: 19.44 kB / 409.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4535, allocations: 0 / 409.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.758/6.211, allocations: 1.898 MB / 411.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/23.4, allocations: 14.73 kB / 411.2 MB, free: 13.28 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches