Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 43.92 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2409, allocations: 52.19 MB / 423.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002932/0.2438, allocations: 1.579 MB / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.2447, allocations: 462.8 kB / 425.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.2448, allocations: 4 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/0.2448, allocations: 11.86 kB / 425.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.2449, allocations: 3.938 kB / 425.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2452, allocations: 59.81 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2454, allocations: 51.78 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2455, allocations: 12.19 kB / 425.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.2455, allocations: 27.84 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.2456, allocations: 19.86 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2456, allocations: 4 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.2456, allocations: 4 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.2457, allocations: 15.92 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.2457, allocations: 19.88 kB / 425.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2458, allocations: 55.39 kB / 425.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2458, allocations: 4 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2458, allocations: 0 / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.2458, allocations: 4 kB / 425.7 MB, free: 12.02 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.0004842/0.2463, allocations: 302.2 kB / 426 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2464, allocations: 12.03 kB / 426 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.2464, allocations: 192 / 426 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.2464, allocations: 38.73 kB / 426 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.2464, allocations: 8.891 kB / 426 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2467, allocations: 154.2 kB / 426.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-06/0.2467, allocations: 384 / 426.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.2467, allocations: 8.125 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.247, allocations: 125.9 kB / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.247, allocations: 0 / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.247, allocations: 0 / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.247, allocations: 0 / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.2471, allocations: 27.91 kB / 426.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.2474, allocations: 245.6 kB / 426.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2475, allocations: 67.78 kB / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.509e-05/0.2476, allocations: 26.64 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2476, allocations: 7.984 kB / 426.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2476, allocations: 38.5 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2476, allocations: 4 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002574/0.2479, allocations: 81.75 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.2479, allocations: 106.8 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2481, allocations: 149.8 kB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2481, allocations: 25.7 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2481, allocations: 88.08 kB / 427.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2482, allocations: 11.95 kB / 427.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2482, allocations: 17.7 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2483, allocations: 318.8 kB / 427.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.2484, allocations: 11.98 kB / 427.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.2484, allocations: 39.56 kB / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.2485, allocations: 43.36 kB / 427.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2485, allocations: 0 / 427.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.2487, allocations: 73.56 kB / 427.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2487, allocations: 12.12 kB / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.2487, allocations: 0 / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2487, allocations: 0 / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.693e-05/0.2488, allocations: 11.98 kB / 427.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2488, allocations: 0 / 427.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.2488, allocations: 4 kB / 427.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2488, allocations: 4 kB / 427.7 MB, free: 9.727 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 9.785e-05/0.2489, allocations: 125.7 kB / 427.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.249, allocations: 49.66 kB / 427.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.2491, allocations: 16.02 kB / 427.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.2491, allocations: 4 kB / 427.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2491, allocations: 0 / 427.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2491, allocations: 0 / 427.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2493, allocations: 140.7 kB / 428 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2493, allocations: 3.984 kB / 428 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.2493, allocations: 11.94 kB / 428.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2493, allocations: 0 / 428.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2493, allocations: 7.938 kB / 428.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2493, allocations: 0 / 428.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2493, allocations: 0 / 428.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.2495, allocations: 185.1 kB / 428.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.2496, allocations: 11.94 kB / 428.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2496, allocations: 12 kB / 428.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.2497, allocations: 3.984 kB / 428.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.2497, allocations: 7.938 kB / 428.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2497, allocations: 0 / 428.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.2498, allocations: 114.2 kB / 428.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2498, allocations: 0 / 428.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.25, allocations: 4 kB / 428.4 MB, free: 8.961 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.0004993/0.2505, allocations: 0.7142 MB / 429.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.2507, allocations: 35.97 kB / 429.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2507, allocations: 0 / 429.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.2507, allocations: 15.92 kB / 429.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.251, allocations: 24 kB / 429.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2524, allocations: 1.4 MB / 430.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.214e-05/0.2525, allocations: 79.19 kB / 430.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.2526, allocations: 4 kB / 430.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.2526, allocations: 19.42 kB / 430.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2526, allocations: 4 kB / 430.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2732, allocations: 1.876 MB / 432.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.8, allocations: 6.406 kB / 432.6 MB, free: 4.781 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.y,time [Calling sys.exit(0), Time elapsed: 13.184990255045705]