Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 105.5 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001017, allocations: 55.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2343, allocations: 50.45 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002393/0.2367, allocations: 1.643 MB / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.2375, allocations: 0.5376 MB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.2375, allocations: 4 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.2376, allocations: 0.625 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2377, allocations: 15.86 kB / 409.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.238, allocations: 47.84 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.2381, allocations: 47.84 kB / 409.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.2381, allocations: 20.16 kB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.2382, allocations: 23.92 kB / 409.4 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.2383, allocations: 23.84 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2383, allocations: 4 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.2384, allocations: 12 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.2384, allocations: 15.92 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2385, allocations: 23.81 kB / 409.5 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.2386, allocations: 59.73 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2386, allocations: 0 / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2386, allocations: 0 / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.2386, allocations: 0 / 409.5 MB, free: 25.35 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.0003842/0.239, allocations: 372.7 kB / 409.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.239, allocations: 8.875 kB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.2392, allocations: 20.83 kB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2393, allocations: 204 kB / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2393, allocations: 4.359 kB / 410.1 MB, free: 24.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2393, allocations: 4.375 kB / 410.1 MB, free: 24.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2395, allocations: 118 kB / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.2396, allocations: 4 kB / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2396, allocations: 0 / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2396, allocations: 0 / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.2397, allocations: 27.92 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.2399, allocations: 278.5 kB / 410.5 MB, free: 24.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.24, allocations: 75.78 kB / 410.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.24, allocations: 30.62 kB / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2401, allocations: 0 / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.2401, allocations: 42.5 kB / 410.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2401, allocations: 0 / 410.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002276/0.2403, allocations: 81.52 kB / 410.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2404, allocations: 107.2 kB / 410.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.2405, allocations: 148.2 kB / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.2405, allocations: 25.7 kB / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.2405, allocations: 88.14 kB / 411.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.2405, allocations: 11.92 kB / 411.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.2406, allocations: 25.56 kB / 411.2 MB, free: 23.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.2406, allocations: 314.8 kB / 411.5 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.2407, allocations: 15.98 kB / 411.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.2407, allocations: 35.42 kB / 411.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.2408, allocations: 47.36 kB / 411.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2408, allocations: 0 / 411.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.2409, allocations: 65.62 kB / 411.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2409, allocations: 10.95 kB / 411.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2409, allocations: 4 kB / 411.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2409, allocations: 0 / 411.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.241, allocations: 8 kB / 411.7 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.241, allocations: 0 / 411.7 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.2411, allocations: 15.78 kB / 411.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2411, allocations: 3.984 kB / 411.7 MB, free: 22.9 MB / 298.7 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 5.293e-05/0.2411, allocations: 131.4 kB / 411.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.2412, allocations: 53.59 kB / 411.9 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.2413, allocations: 7.875 kB / 411.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2413, allocations: 0 / 411.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2413, allocations: 7.938 kB / 411.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2413, allocations: 0 / 411.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.2414, allocations: 173.6 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2414, allocations: 4 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.2415, allocations: 8.062 kB / 412.1 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2415, allocations: 4 kB / 412.1 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2415, allocations: 7.938 kB / 412.1 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2415, allocations: 0 / 412.1 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2415, allocations: 4 kB / 412.1 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.2418, allocations: 0.7373 MB / 412.8 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.2418, allocations: 93 kB / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2418, allocations: 144 / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.2419, allocations: 4 kB / 412.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.2419, allocations: 11.91 kB / 412.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2419, allocations: 8 kB / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.443e-05/0.242, allocations: 109.7 kB / 413 MB, free: 21.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.242, allocations: 0 / 413 MB, free: 21.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.2423, allocations: 12 kB / 413 MB, free: 21.39 MB / 298.7 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 (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 6.988e-05/0.2424, allocations: 103.2 kB / 413.1 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2425, allocations: 23.98 kB / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2425, allocations: 0 / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.2426, allocations: 19.92 kB / 413.2 MB, free: 21.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2429, allocations: 22.22 kB / 413.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.2433, allocations: 309.2 kB / 413.5 MB, free: 20.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2434, allocations: 0.7004 MB / 414.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.884e-05/0.2434, allocations: 4 kB / 414.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.2434, allocations: 11.38 kB / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2434, allocations: 0 / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of Templates: time 0.002118/0.2456, allocations: 0.5524 MB / 414.8 MB, free: 19.58 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches