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.001715/0.001715, allocations: 103.2 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.002186/0.002186, 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 2.167/2.167, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 51.86 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3938, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003786/0.3976, allocations: 1.574 MB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3987, allocations: 476.4 kB / 402.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3989, allocations: 4 kB / 402.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.566e-05/0.399, allocations: 7.875 kB / 402.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3991, allocations: 7.938 kB / 402.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.3995, allocations: 47.83 kB / 402.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3997, allocations: 47.78 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3998, allocations: 12 kB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3999, allocations: 27.84 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.4, allocations: 19.86 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4, allocations: 4 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.4001, allocations: 4 kB / 402.5 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.4001, allocations: 15.98 kB / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.4002, allocations: 23.81 kB / 402.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.4003, allocations: 55.73 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4004, allocations: 4 kB / 402.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4004, allocations: 0 / 402.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4004, allocations: 0 / 402.6 MB, free: 6.52 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.0006148/0.401, allocations: 364.9 kB / 402.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4011, allocations: 8.031 kB / 402.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.4011, allocations: 42.73 kB / 403 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.4012, allocations: 12.84 kB / 403 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.4015, allocations: 194.7 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4015, allocations: 4.375 kB / 403.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4015, allocations: 4.375 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.4019, allocations: 125.1 kB / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4019, allocations: 0 / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4019, allocations: 0 / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4019, allocations: 0 / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.402, allocations: 23.92 kB / 403.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.4024, allocations: 261.8 kB / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.4027, allocations: 150.2 kB / 403.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.4028, allocations: 25.7 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4028, allocations: 7.984 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4028, allocations: 38.56 kB / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4028, allocations: 0 / 403.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.4031, allocations: 81.5 kB / 403.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.4032, allocations: 81.11 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4034, allocations: 133.8 kB / 404.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.4034, allocations: 25.7 kB / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.4035, allocations: 88.12 kB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.4035, allocations: 12.03 kB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.4036, allocations: 21.66 kB / 404.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4037, allocations: 318.8 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.4038, allocations: 7.984 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.4039, allocations: 39.36 kB / 404.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.404, allocations: 47.42 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.404, allocations: 0 / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001573/0.4041, allocations: 77.45 kB / 404.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4042, allocations: 4 kB / 404.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4042, allocations: 4.125 kB / 404.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4042, allocations: 4 kB / 404.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.4043, allocations: 4 kB / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4043, allocations: 4 kB / 404.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.4044, allocations: 7.922 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4044, allocations: 4 kB / 404.7 MB, free: 4.035 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.0001011/0.4045, allocations: 121.7 kB / 404.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.4046, allocations: 49.59 kB / 404.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.4046, allocations: 12.25 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4047, allocations: 4 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4047, allocations: 0 / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4047, allocations: 4 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4049, allocations: 173.6 kB / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4049, allocations: 3.984 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.405, allocations: 8 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.405, allocations: 0 / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.405, allocations: 4 kB / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.405, allocations: 3.938 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.405, allocations: 0 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.4052, allocations: 176.2 kB / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.4053, allocations: 93 kB / 405.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.4053, allocations: 0 / 405.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.4054, allocations: 7.984 kB / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.4054, allocations: 0 / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.4054, allocations: 0 / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.4055, allocations: 117.6 kB / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4055, allocations: 0 / 405.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.4058, allocations: 8 kB / 405.5 MB, free: 3.156 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.0005342/0.4063, allocations: 0.7095 MB / 406.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4065, allocations: 31.92 kB / 406.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4065, allocations: 0 / 406.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.4065, allocations: 7.984 kB / 406.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4069, allocations: 31.98 kB / 406.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4085, allocations: 1.362 MB / 407.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4089, allocations: 0.6922 MB / 408.3 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.4089, allocations: 11.98 kB / 408.3 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.409, allocations: 15.44 kB / 408.4 MB, free: 140 kB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.409, allocations: 0 / 408.4 MB, free: 140 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.4396, allocations: 1.57 MB / 409.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.23, allocations: 8.547 kB / 409.9 MB, free: 14.66 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