Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001304, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007697/0.0007698, allocations: 92.17 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002444/0.0002444, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2179, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001308/0.2192, allocations: 1.265 MB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006984/0.2199, allocations: 0.6995 MB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.22, allocations: 0.5938 kB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.2201, allocations: 3.938 kB / 414 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2202, allocations: 12.98 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.2204, allocations: 43.89 kB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.2205, allocations: 48.33 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.2206, allocations: 23.52 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.2207, allocations: 23.88 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.2207, allocations: 15.86 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.2207, allocations: 4 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.845e-05/0.2208, allocations: 11.98 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.2208, allocations: 11.92 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.2209, allocations: 46.52 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.221, allocations: 55.78 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.221, allocations: 4 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.221, allocations: 0.6562 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.221, allocations: 0 / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003226/0.2213, allocations: 368.7 kB / 414.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2214, allocations: 12.03 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2215, allocations: 20.83 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2216, allocations: 184.2 kB / 414.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2217, allocations: 4.375 kB / 414.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2217, allocations: 384 / 414.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2219, allocations: 121.3 kB / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.2219, allocations: 0 / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2219, allocations: 0 / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2219, allocations: 0 / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.222, allocations: 23.98 kB / 415 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.2222, allocations: 269.6 kB / 415.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.4e-05/0.2223, allocations: 53.08 kB / 415.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.2224, allocations: 21.78 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2224, allocations: 4 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.2224, allocations: 30.56 kB / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2224, allocations: 3.938 kB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.2226, allocations: 73.67 kB / 415.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2227, allocations: 81.05 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.2227, allocations: 146.4 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.2228, allocations: 29.7 kB / 415.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.2228, allocations: 84.14 kB / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.2228, allocations: 0 / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2228, allocations: 0 / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.2228, allocations: 331 kB / 416.1 MB, free: 21.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.2229, allocations: 8 kB / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.2229, allocations: 17.7 kB / 416.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.223, allocations: 45.64 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.223, allocations: 0 / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.538e-05/0.2231, allocations: 61.53 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2231, allocations: 8 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2231, allocations: 0 / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2232, allocations: 0 / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.2232, allocations: 12.05 kB / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2232, allocations: 0 / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.2233, allocations: 4 kB / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.2233, allocations: 0 / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.443e-05/0.2234, allocations: 129.7 kB / 416.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.2234, allocations: 37.59 kB / 416.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.2234, allocations: 11.88 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2234, allocations: 0 / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2235, allocations: 8.031 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2235, allocations: 0 / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2236, allocations: 173.5 kB / 416.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2236, allocations: 0 / 416.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.2236, allocations: 11.98 kB / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2237, allocations: 0 / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2237, allocations: 4 kB / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2237, allocations: 0 / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2237, allocations: 0 / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2238, allocations: 172.3 kB / 416.8 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.2239, allocations: 89 kB / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2239, allocations: 0 / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.2239, allocations: 4 kB / 416.9 MB, free: 20.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.224, allocations: 7.922 kB / 416.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.224, allocations: 8.031 kB / 416.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.224, allocations: 111.2 kB / 417 MB, free: 20.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.224, allocations: 0 / 417 MB, free: 20.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.2243, allocations: 4 kB / 417 MB, free: 20.47 MB / 298.7 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 (2): * Single equations (assignments): 2 * 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 5.962e-05/0.2243, allocations: 99.25 kB / 417.1 MB, free: 20.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.2245, allocations: 27.98 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2245, allocations: 4.062 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.2245, allocations: 11.98 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2249, allocations: 19.91 kB / 417.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.2251, allocations: 197.2 kB / 417.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2252, allocations: 0.6848 MB / 418.1 MB, free: 19.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.2253, allocations: 4 kB / 418.1 MB, free: 19.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.2253, allocations: 11.42 kB / 418.1 MB, free: 19.35 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2253, allocations: 0 / 418.1 MB, free: 19.35 MB / 298.7 MB Notification: Performance of Templates: time 0.002111/0.2274, allocations: 483.8 kB / 418.6 MB, free: 18.89 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches