Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001896/0.001896, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003183/0.003183, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.945/2.945, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7558, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00516/0.761, allocations: 1.562 MB / 411.5 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.763, allocations: 0.5143 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.7631, allocations: 4 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.076e-05/0.7633, allocations: 7.922 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.7635, allocations: 7.875 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.7641, allocations: 55.83 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.7643, allocations: 43.84 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.7645, allocations: 11.98 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.7647, allocations: 35.84 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.7648, allocations: 19.86 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.7648, allocations: 0 / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.7649, allocations: 8 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.7649, allocations: 8 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.765, allocations: 27.8 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.7653, allocations: 51.81 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7653, allocations: 7.938 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7653, allocations: 0 / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.7653, allocations: 0 / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007689/0.7661, allocations: 364.3 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.846e-05/0.7662, allocations: 8.031 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.7665, allocations: 16.83 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.7669, allocations: 204 kB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.767, allocations: 12.31 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.767, allocations: 384 / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.7674, allocations: 97.34 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7674, allocations: 0 / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.7674, allocations: 4 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.7674, allocations: 0 / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.7676, allocations: 19.98 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.7681, allocations: 257.7 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.7683, allocations: 49.2 kB / 413.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.7683, allocations: 21.78 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.7684, allocations: 3.984 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.7685, allocations: 34.5 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.7685, allocations: 0 / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004173/0.7689, allocations: 77.73 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.7691, allocations: 77.11 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.7693, allocations: 136.6 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.7693, allocations: 25.7 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.7696, allocations: 92.12 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.7696, allocations: 3.938 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.7697, allocations: 21.62 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.7699, allocations: 314.8 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.77, allocations: 12.02 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.7701, allocations: 17.72 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.7702, allocations: 37.58 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7702, allocations: 0 / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.7704, allocations: 57.73 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.7705, allocations: 6.969 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7705, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.7705, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7706, allocations: 7.938 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.7707, allocations: 0 / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.7707, allocations: 3.984 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.7708, allocations: 8 kB / 414.2 MB, free: 13.02 MB / 334.1 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 0.0001524/0.7709, allocations: 125.8 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.771, allocations: 37.61 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.7711, allocations: 15.81 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.7711, allocations: 4 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7711, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7711, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.7714, allocations: 169.6 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7714, allocations: 0 / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.7715, allocations: 8 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7715, allocations: 3.938 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.7716, allocations: 8.016 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7716, allocations: 3.938 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7716, allocations: 0 / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.7719, allocations: 160.2 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.7721, allocations: 89 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.7721, allocations: 0 / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7723, allocations: 12.02 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.7723, allocations: 3.984 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7723, allocations: 4 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.7725, allocations: 109.5 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.665e-06/0.7725, allocations: 0 / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.7729, allocations: 11.88 kB / 415 MB, free: 12.16 MB / 334.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 (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 0.0002049/0.7731, allocations: 99.23 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.7734, allocations: 27.92 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7734, allocations: 0 / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.7735, allocations: 8 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.7741, allocations: 19.95 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.7748, allocations: 185.2 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.7754, allocations: 0.6926 MB / 416 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.7755, allocations: 11.44 kB / 416 MB, free: 11.05 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7755, allocations: 0 / 416 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Templates: time 0.004706/0.7802, allocations: 0.7251 MB / 416.8 MB, free: 10.33 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches