Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.00106/0.00106, allocations: 103.6 kB / 17.06 MB, free: 6.145 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.001112/0.001112, allocations: 195 kB / 18 MB, free: 5.219 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.866/1.866, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 43.94 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4418, allocations: 49.45 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.005424/0.4473, allocations: 1.535 MB / 401.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.448, allocations: 143.3 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.4481, allocations: 2.094 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.245e-05/0.4482, allocations: 3.938 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.4484, allocations: 14.17 kB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.4489, allocations: 38.47 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.449, allocations: 32.27 kB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.4492, allocations: 20.25 kB / 402 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.4493, allocations: 11.94 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.4493, allocations: 15.92 kB / 402.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.4494, allocations: 4 kB / 402.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.4494, allocations: 0 / 402.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.4495, allocations: 15.92 kB / 402.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.4496, allocations: 19.81 kB / 402.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.4498, allocations: 55.75 kB / 402.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4498, allocations: 0 / 402.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4498, allocations: 0 / 402.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.4498, allocations: 4 kB / 402.2 MB, free: 6.926 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006278/0.4505, allocations: 364.9 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.4505, allocations: 8.031 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.4506, allocations: 38.73 kB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.4507, allocations: 8.844 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.451, allocations: 192.2 kB / 402.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4511, allocations: 4.312 kB / 402.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4511, allocations: 4.375 kB / 402.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.4515, allocations: 113.6 kB / 402.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4516, allocations: 7.938 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4516, allocations: 3.938 kB / 402.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4516, allocations: 4 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.4518, allocations: 15.98 kB / 402.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.4522, allocations: 261.8 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.4525, allocations: 142.2 kB / 403.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4527, allocations: 41.7 kB / 403.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4527, allocations: 0 / 403.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4528, allocations: 30.56 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4528, allocations: 0 / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003657/0.4531, allocations: 85.5 kB / 403.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.4533, allocations: 81.11 kB / 403.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4534, allocations: 133.5 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4535, allocations: 25.7 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.4536, allocations: 92.08 kB / 403.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4536, allocations: 3.906 kB / 403.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.4537, allocations: 21.7 kB / 403.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4538, allocations: 315 kB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.4539, allocations: 15.98 kB / 404.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.454, allocations: 23.44 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4542, allocations: 55.36 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4542, allocations: 3.938 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002121/0.4544, allocations: 73.45 kB / 404.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4545, allocations: 8 kB / 404.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4545, allocations: 0 / 404.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4545, allocations: 0 / 404.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.4546, allocations: 12.12 kB / 404.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4546, allocations: 0 / 404.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.4547, allocations: 7.984 kB / 404.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4547, allocations: 0 / 404.3 MB, free: 4.465 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001226/0.4549, allocations: 125.7 kB / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.455, allocations: 53.53 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.455, allocations: 8.25 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4551, allocations: 4 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4551, allocations: 0 / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4551, allocations: 4 kB / 404.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.4554, allocations: 169.6 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4554, allocations: 3.938 kB / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.4555, allocations: 11.98 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4555, allocations: 0 / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4556, allocations: 4 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4556, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4556, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.4559, allocations: 176.2 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.456, allocations: 89.47 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4561, allocations: 0 / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4562, allocations: 4 kB / 404.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.4563, allocations: 0 / 404.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4563, allocations: 0 / 404.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.4564, allocations: 107.2 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4565, allocations: 0 / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004414/0.4569, allocations: 8 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0006973/0.4576, allocations: 0.7092 MB / 405.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.4579, allocations: 28.11 kB / 405.8 MB, free: 2.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4579, allocations: 3.938 kB / 405.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.458, allocations: 15.92 kB / 405.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4585, allocations: 26.77 kB / 405.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.4607, allocations: 1.322 MB / 407.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.4611, allocations: 0.6922 MB / 407.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.119e-05/0.4612, allocations: 0 / 407.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.4613, allocations: 19.42 kB / 407.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4613, allocations: 7.938 kB / 407.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.777/6.238, allocations: 1.478 MB / 409.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/23.26, allocations: 19.58 kB / 409.4 MB, free: 15.22 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches