Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, 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.499/1.499, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 111.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3206, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002282/0.323, allocations: 1.549 MB / 408.6 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006086/0.3236, allocations: 482.8 kB / 409.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.3237, allocations: 0 / 409.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.3237, allocations: 3.938 kB / 409.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.3238, allocations: 15.92 kB / 409.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.324, allocations: 23.92 kB / 409.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.3241, allocations: 39.91 kB / 409.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.3242, allocations: 4 kB / 409.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3243, allocations: 23.86 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.3244, allocations: 19.92 kB / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3244, allocations: 0 / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.74e-05/0.3244, allocations: 8 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3244, allocations: 15.92 kB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.3245, allocations: 15.92 kB / 409.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.067e-05/0.3246, allocations: 31.84 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3246, allocations: 0 / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3246, allocations: 0 / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.3246, allocations: 0 / 409.3 MB, free: 25.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003706/0.325, allocations: 356.9 kB / 409.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.325, allocations: 8.594 kB / 409.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.3252, allocations: 12.92 kB / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3253, allocations: 184.3 kB / 409.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3253, allocations: 8.359 kB / 409.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.3253, allocations: 4.375 kB / 409.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3256, allocations: 115.5 kB / 410 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3256, allocations: 0 / 410 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3256, allocations: 4 kB / 410 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3256, allocations: 0 / 410 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.3257, allocations: 19.98 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.244e-05/0.3258, allocations: 169.5 kB / 410.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3259, allocations: 62.52 kB / 410.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.326, allocations: 20.89 kB / 410.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.326, allocations: 8 kB / 410.2 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.326, allocations: 34.5 kB / 410.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.326, allocations: 0 / 410.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001992/0.3262, allocations: 77.61 kB / 410.3 MB, free: 24.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.3263, allocations: 51.41 kB / 410.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.3263, allocations: 113.8 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.3263, allocations: 29.7 kB / 410.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.3264, allocations: 88.12 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.3264, allocations: 4 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.3264, allocations: 17.66 kB / 410.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.3265, allocations: 318.8 kB / 410.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.3265, allocations: 3.984 kB / 411 MB, free: 23.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.3265, allocations: 23.44 kB / 411 MB, free: 23.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.3265, allocations: 39.38 kB / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3265, allocations: 0 / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.903e-05/0.3266, allocations: 57.53 kB / 411.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3266, allocations: 8.062 kB / 411.1 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3266, allocations: 8 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3266, allocations: 0 / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.3267, allocations: 11.94 kB / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3267, allocations: 0 / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.3267, allocations: 4 kB / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.3267, allocations: 7.984 kB / 411.1 MB, free: 23.5 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.67e-05/0.3268, allocations: 111.3 kB / 411.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/0.3269, allocations: 61.62 kB / 411.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3269, allocations: 20.22 kB / 411.3 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.327, allocations: 0 / 411.3 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.327, allocations: 4 kB / 411.3 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.327, allocations: 3.984 kB / 411.3 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.286e-05/0.327, allocations: 153.7 kB / 411.5 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.327, allocations: 3.984 kB / 411.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.3271, allocations: 11.94 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3271, allocations: 3.938 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3271, allocations: 0 / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3271, allocations: 4 kB / 411.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3271, allocations: 8.359 kB / 411.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.3274, allocations: 0.6512 MB / 412.1 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.3274, allocations: 85.02 kB / 412.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3275, allocations: 0 / 412.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.3275, allocations: 7.938 kB / 412.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-06/0.3275, allocations: 7.984 kB / 412.2 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3275, allocations: 0 / 412.2 MB, free: 22.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.3275, allocations: 87.28 kB / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3275, allocations: 0 / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.3278, allocations: 4 kB / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 8.25e-05/0.3279, allocations: 103.2 kB / 412.4 MB, free: 22.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.328, allocations: 31.86 kB / 412.5 MB, free: 21.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.328, allocations: 4.25 kB / 412.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.328, allocations: 0 / 412.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.3282, allocations: 22.81 kB / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.3285, allocations: 255.3 kB / 412.7 MB, free: 21.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3286, allocations: 0.6886 MB / 413.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.883e-05/0.3287, allocations: 8 kB / 413.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.3287, allocations: 7.438 kB / 413.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3287, allocations: 0 / 413.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of Templates: time 0.001873/0.3306, allocations: 347.3 kB / 413.8 MB, free: 20.61 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches