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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001816/0.001815, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.651/2.651, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 49.89 kB / 300.6 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1986, allocations: 49.45 MB / 350.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.005589/0.2042, allocations: 1.734 MB / 351.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006476/0.205, allocations: 167.4 kB / 352 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2051, allocations: 4 kB / 352 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.2053, allocations: 7.922 kB / 352 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2055, allocations: 7.875 kB / 352 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.2059, allocations: 37.84 kB / 352 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2061, allocations: 59.84 kB / 352.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.2063, allocations: 31.97 kB / 352.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.2064, allocations: 19.88 kB / 352.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.2065, allocations: 23.84 kB / 352.1 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.2065, allocations: 4 kB / 352.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.2065, allocations: 8 kB / 352.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.2066, allocations: 11.94 kB / 352.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.2067, allocations: 35.73 kB / 352.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2069, allocations: 47.92 kB / 352.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2069, allocations: 0 / 352.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2069, allocations: 0 / 352.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.2069, allocations: 0 / 352.3 MB, free: 2.613 MB / 286.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.0008477/0.2078, allocations: 387.4 kB / 352.6 MB, free: 2.184 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.2078, allocations: 12.03 kB / 352.6 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.2079, allocations: 12.84 kB / 352.7 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2083, allocations: 204 kB / 352.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2084, allocations: 4.312 kB / 352.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.2084, allocations: 12.36 kB / 352.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.2089, allocations: 174.2 kB / 353 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.209, allocations: 192 / 353 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.209, allocations: 3.938 kB / 353 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.209, allocations: 0 / 353 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.2092, allocations: 31.98 kB / 353.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.21, allocations: 369.8 kB / 353.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.2105, allocations: 119.8 kB / 353.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.2108, allocations: 58.62 kB / 353.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.2109, allocations: 4 kB / 353.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.2109, allocations: 42.48 kB / 353.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/0.2109, allocations: 0 / 353.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005762/0.2115, allocations: 121.6 kB / 353.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.2117, allocations: 119 kB / 353.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2119, allocations: 136.8 kB / 354 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2119, allocations: 25.7 kB / 354.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.212, allocations: 88.14 kB / 354.1 MB, free: 480 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2121, allocations: 11.89 kB / 354.1 MB, free: 468 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.2122, allocations: 25.72 kB / 354.2 MB, free: 436 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.2124, allocations: 322.8 kB / 354.5 MB, free: 104 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.2125, allocations: 12 kB / 354.5 MB, free: 92 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2126, allocations: 71.7 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.2129, allocations: 99.53 kB / 354.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2129, allocations: 0 / 354.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002963/0.2132, allocations: 109.4 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2133, allocations: 4 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2133, allocations: 4 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2133, allocations: 0 / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2135, allocations: 23.92 kB / 354.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.2135, allocations: 4 kB / 354.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.2136, allocations: 12.28 kB / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2136, allocations: 4 kB / 354.8 MB, free: 15.7 MB / 302.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.0001634/0.2138, allocations: 129.7 kB / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.214, allocations: 81.47 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.2141, allocations: 12.91 kB / 355 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2141, allocations: 4 kB / 355 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2141, allocations: 3.938 kB / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2141, allocations: 0 / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.2145, allocations: 193.5 kB / 355.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2145, allocations: 4 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2147, allocations: 16 kB / 355.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2147, allocations: 3.984 kB / 355.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2147, allocations: 0 / 355.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.2147, allocations: 4 kB / 355.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.2147, allocations: 0 / 355.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.2153, allocations: 316.2 kB / 355.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2154, allocations: 93 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2155, allocations: 11.92 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2156, allocations: 0 / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.2157, allocations: 4 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2157, allocations: 4 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.2158, allocations: 110.4 kB / 355.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2158, allocations: 4 kB / 355.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.2164, allocations: 12 kB / 355.8 MB, free: 14.61 MB / 302.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.0001965/0.2166, allocations: 111.1 kB / 355.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.2169, allocations: 68.22 kB / 356 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2169, allocations: 0.5625 kB / 356 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.2169, allocations: 8 kB / 356 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/0.2177, allocations: 44.02 kB / 356 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.2184, allocations: 275.8 kB / 356.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.2189, allocations: 0.7004 MB / 357 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.219, allocations: 15.44 kB / 357 MB, free: 13.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.219, allocations: 0 / 357 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Templates: time 0.004194/0.2232, allocations: 0.9029 MB / 357.9 MB, free: 12.42 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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