Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 117.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 216.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2566, allocations: 50.53 MB / 410.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002802/0.2594, allocations: 1.596 MB / 411.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2605, allocations: 0.5571 MB / 412.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.2606, allocations: 11.94 kB / 412.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.2606, allocations: 3.938 kB / 412.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.2608, allocations: 15.86 kB / 412.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2611, allocations: 59.81 kB / 412.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.2612, allocations: 51.78 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2613, allocations: 12.17 kB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2614, allocations: 27.86 kB / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.2615, allocations: 19.86 kB / 412.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2615, allocations: 4 kB / 412.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.2615, allocations: 12 kB / 412.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.2616, allocations: 19.91 kB / 412.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.2616, allocations: 23.81 kB / 412.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2618, allocations: 63.53 kB / 412.7 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2618, allocations: 0 / 412.7 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2618, allocations: 0 / 412.7 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2618, allocations: 0 / 412.7 MB, free: 15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005113/0.2623, allocations: 387 kB / 413.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2623, allocations: 8.031 kB / 413.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.2625, allocations: 24.88 kB / 413.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.2628, allocations: 200.7 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2628, allocations: 4.375 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.2628, allocations: 7.938 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.2631, allocations: 129.8 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2631, allocations: 0 / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2631, allocations: 0 / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2631, allocations: 4 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.2632, allocations: 31.91 kB / 413.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.2635, allocations: 278.6 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2637, allocations: 67.78 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.2637, allocations: 26.64 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2637, allocations: 4 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2638, allocations: 42.48 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2638, allocations: 0 / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002747/0.264, allocations: 85.56 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.2641, allocations: 107.2 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2643, allocations: 153.1 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2643, allocations: 29.7 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.2643, allocations: 88.14 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.2644, allocations: 0 / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.2644, allocations: 25.66 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2645, allocations: 318.8 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.2646, allocations: 11.92 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.2646, allocations: 35.44 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.251e-05/0.2647, allocations: 47.3 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2647, allocations: 4 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.2649, allocations: 65.61 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2649, allocations: 11.44 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2649, allocations: 0 / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2649, allocations: 0 / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.265, allocations: 15.98 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.265, allocations: 4 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.265, allocations: 3.938 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.265, allocations: 8.219 kB / 414.9 MB, free: 12.52 MB / 334.1 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 8.978e-05/0.2651, allocations: 125.7 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.2652, allocations: 57.59 kB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.2652, allocations: 11.86 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2652, allocations: 4 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2652, allocations: 0 / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2652, allocations: 3.938 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2654, allocations: 169.7 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2654, allocations: 4.062 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.2655, allocations: 15.92 kB / 415.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2655, allocations: 0 / 415.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2655, allocations: 4 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2655, allocations: 3.938 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2655, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.2657, allocations: 181.1 kB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.2658, allocations: 96.98 kB / 415.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2658, allocations: 0 / 415.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.2659, allocations: 15.92 kB / 415.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.2659, allocations: 3.938 kB / 415.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.2659, allocations: 4 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.266, allocations: 111.2 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.266, allocations: 0 / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.2662, allocations: 4 kB / 415.7 MB, free: 11.61 MB / 334.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 (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 0.0001062/0.2663, allocations: 103.2 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.2665, allocations: 31.92 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2665, allocations: 0 / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.2665, allocations: 11.98 kB / 415.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2669, allocations: 31.53 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.2672, allocations: 184.3 kB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2676, allocations: 0.6924 MB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2676, allocations: 3.984 kB / 416.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.2676, allocations: 11.44 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2676, allocations: 4 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003193/0.2708, allocations: 0.5886 MB / 417.3 MB, free: 9.891 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches