Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.001182/0.001182, allocations: 114.4 kB / 17.06 MB, free: 5.965 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.001259/0.001259, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.903/1.903, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001531, allocations: 51.91 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3987, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.005693/0.4044, allocations: 1.564 MB / 401.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.4063, allocations: 485.5 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.4065, allocations: 0 / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.304e-05/0.4066, allocations: 3.938 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.4069, allocations: 11.88 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.4074, allocations: 46.14 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.4076, allocations: 47.78 kB / 402.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4077, allocations: 16 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.4079, allocations: 19.91 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.408, allocations: 23.86 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.4081, allocations: 0 / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.4081, allocations: 4 kB / 402.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.4082, allocations: 11.98 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.4083, allocations: 23.81 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.4085, allocations: 63.67 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4085, allocations: 0 / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4085, allocations: 0 / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4086, allocations: 4 kB / 402.5 MB, free: 6.492 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.0007587/0.4093, allocations: 368.9 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.4094, allocations: 8.031 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.4095, allocations: 38.69 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.4096, allocations: 12.83 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.41, allocations: 188.1 kB / 403.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.41, allocations: 4.375 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4101, allocations: 4.375 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.4106, allocations: 129.1 kB / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4106, allocations: 4 kB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4106, allocations: 0 / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4107, allocations: 0 / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4108, allocations: 23.98 kB / 403.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.4114, allocations: 269.6 kB / 403.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.4117, allocations: 134.3 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.4119, allocations: 37.75 kB / 403.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.412, allocations: 3.984 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.412, allocations: 34.5 kB / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.412, allocations: 4 kB / 403.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005455/0.4126, allocations: 85.5 kB / 403.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.4127, allocations: 81.23 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4129, allocations: 133.8 kB / 404.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4129, allocations: 25.7 kB / 404.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.413, allocations: 88.14 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4131, allocations: 7.891 kB / 404.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.4132, allocations: 17.72 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4134, allocations: 318.8 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.4135, allocations: 11.98 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4136, allocations: 39.42 kB / 404.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4138, allocations: 43.36 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4138, allocations: 0 / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002776/0.4141, allocations: 73.47 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.4142, allocations: 14.02 kB / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4142, allocations: 0 / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.4142, allocations: 0 / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4144, allocations: 8 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.4144, allocations: 0 / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.4145, allocations: 11.94 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.4145, allocations: 12.11 kB / 404.7 MB, free: 4 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.000156/0.4147, allocations: 121.7 kB / 404.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4149, allocations: 53.53 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.4149, allocations: 12.25 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.415, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.415, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.415, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.4153, allocations: 169.6 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4154, allocations: 0 / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4155, allocations: 19.98 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.4155, allocations: 4 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4155, allocations: 3.938 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.4156, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4156, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.4159, allocations: 172.2 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4161, allocations: 97 kB / 405.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4161, allocations: 4 kB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4163, allocations: 3.984 kB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.4163, allocations: 4.375 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.4164, allocations: 0 / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4165, allocations: 107.2 kB / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4165, allocations: 0 / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.417, allocations: 4 kB / 405.5 MB, free: 3.129 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.0007786/0.4178, allocations: 0.7163 MB / 406.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.4181, allocations: 31.92 kB / 406.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4181, allocations: 0 / 406.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.4182, allocations: 16.17 kB / 406.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.4188, allocations: 31.17 kB / 406.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4212, allocations: 1.362 MB / 407.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4216, allocations: 0.6922 MB / 408.3 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.4217, allocations: 0 / 408.3 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.4218, allocations: 19.42 kB / 408.4 MB, free: 112 kB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4218, allocations: 0 / 408.4 MB, free: 112 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.784/6.205, allocations: 1.568 MB / 409.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/23.14, allocations: 15.81 kB / 409.9 MB, free: 14.63 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches