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.00144/0.00144, allocations: 116.1 kB / 17.07 MB, free: 5.996 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.001342/0.001342, allocations: 193.4 kB / 18 MB, free: 5.074 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.594/1.594, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 47.91 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3283, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004371/0.3327, allocations: 1.576 MB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.334, allocations: 469.5 kB / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3342, allocations: 3.938 kB / 402.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.955e-05/0.3343, allocations: 3.938 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.3345, allocations: 11.94 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3349, allocations: 47.83 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.335, allocations: 47.83 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3352, allocations: 15.98 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.3353, allocations: 19.86 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.3354, allocations: 23.86 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.3354, allocations: 0 / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.3354, allocations: 4 kB / 402.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.3355, allocations: 15.97 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.3356, allocations: 31.81 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3357, allocations: 50.7 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3357, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3358, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3358, allocations: 0 / 402.5 MB, free: 6.504 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.0007193/0.3365, allocations: 379.1 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.3366, allocations: 8.031 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.3366, allocations: 34.75 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.3367, allocations: 8.891 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.337, allocations: 204.1 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.337, allocations: 4.375 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.3371, allocations: 4.375 kB / 403.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3374, allocations: 121.1 kB / 403.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3374, allocations: 8 kB / 403.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3375, allocations: 4 kB / 403.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3375, allocations: 0 / 403.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.907e-05/0.3376, allocations: 19.92 kB / 403.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.338, allocations: 265.8 kB / 403.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.3383, allocations: 142.2 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.3384, allocations: 29.77 kB / 403.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3384, allocations: 0 / 403.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.3385, allocations: 34.56 kB / 403.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3385, allocations: 4 kB / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000312/0.3388, allocations: 85.55 kB / 403.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.3389, allocations: 77.11 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3391, allocations: 136.3 kB / 404.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3391, allocations: 25.7 kB / 404.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.3392, allocations: 88.14 kB / 404.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3392, allocations: 11.94 kB / 404.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3392, allocations: 13.84 kB / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3394, allocations: 322.8 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.3394, allocations: 11.98 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.3395, allocations: 39.36 kB / 404.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3396, allocations: 47.36 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3396, allocations: 0 / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001512/0.3398, allocations: 69.58 kB / 404.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3398, allocations: 8 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3398, allocations: 0 / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3398, allocations: 3.984 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.3399, allocations: 12.12 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.3399, allocations: 0 / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.34, allocations: 7.938 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.34, allocations: 4 kB / 404.7 MB, free: 4.012 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.0001274/0.3401, allocations: 125.7 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.3402, allocations: 49.92 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.3403, allocations: 16.28 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3403, allocations: 0 / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3403, allocations: 4 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3403, allocations: 0 / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3405, allocations: 173.6 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3405, allocations: 0 / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3406, allocations: 11.98 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3406, allocations: 0 / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3406, allocations: 3.938 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3406, allocations: 3.938 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3406, allocations: 0 / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.3408, allocations: 180.2 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.3409, allocations: 93.05 kB / 405.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3409, allocations: 4 kB / 405.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.341, allocations: 3.984 kB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3411, allocations: 8 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3411, allocations: 0 / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.3412, allocations: 103.3 kB / 405.5 MB, free: 3.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3412, allocations: 4 kB / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.3414, 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.0006268/0.3421, allocations: 0.7163 MB / 406.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3422, allocations: 31.92 kB / 406.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3423, allocations: 0 / 406.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.3423, allocations: 11.98 kB / 406.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3427, allocations: 26.27 kB / 406.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3444, allocations: 1.358 MB / 407.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3449, allocations: 0.6922 MB / 408.3 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.3449, allocations: 8.25 kB / 408.3 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.345, allocations: 19.42 kB / 408.4 MB, free: 116 kB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.345, allocations: 0 / 408.4 MB, free: 116 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.3687, allocations: 1.566 MB / 409.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/8.935, allocations: 16.55 kB / 409.9 MB, free: 14.64 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