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.001275/0.001275, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001316/0.001316, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.356/1.356, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001573/0.001573, allocations: 43.92 kB / 371.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2536, allocations: 52.2 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00274/0.2563, allocations: 1.587 MB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.2572, allocations: 0.5026 MB / 425.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.2572, allocations: 3.938 kB / 425.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.2573, allocations: 3.938 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2574, allocations: 19.86 kB / 425.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.2577, allocations: 55.81 kB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.2578, allocations: 43.8 kB / 425.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.2579, allocations: 12.17 kB / 425.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.2579, allocations: 27.91 kB / 425.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.258, allocations: 23.86 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.258, allocations: 4 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.258, allocations: 4 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.258, allocations: 11.94 kB / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.2581, allocations: 27.8 kB / 425.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2582, allocations: 56.53 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2582, allocations: 0 / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2582, allocations: 0 / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2582, allocations: 0 / 425.8 MB, free: 12.21 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.0004234/0.2586, allocations: 317.9 kB / 426.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2587, allocations: 8.031 kB / 426.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.2587, allocations: 192 / 426.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2587, allocations: 42.69 kB / 426.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.2587, allocations: 8.891 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2589, allocations: 146.3 kB / 426.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.259, allocations: 384 / 426.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.259, allocations: 16.11 kB / 426.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.2592, allocations: 113.9 kB / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2592, allocations: 0 / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.2592, allocations: 0 / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2592, allocations: 0 / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.2593, allocations: 23.92 kB / 426.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.2596, allocations: 253.6 kB / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2597, allocations: 63.78 kB / 426.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.2598, allocations: 42.56 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2598, allocations: 0 / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2598, allocations: 30.56 kB / 426.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2598, allocations: 4 kB / 426.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002558/0.2601, allocations: 85.75 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.2602, allocations: 110.8 kB / 427.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2603, allocations: 140.4 kB / 427.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.2603, allocations: 25.7 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.2604, allocations: 96.08 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.2604, allocations: 3.953 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.2604, allocations: 25.89 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2606, allocations: 318.8 kB / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.2606, allocations: 11.98 kB / 427.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.2607, allocations: 35.42 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.2608, allocations: 51.36 kB / 427.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2608, allocations: 0 / 427.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.2609, allocations: 65.58 kB / 427.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2609, allocations: 4 kB / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2609, allocations: 0 / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2609, allocations: 4.125 kB / 427.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.261, allocations: 15.92 kB / 427.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.261, allocations: 4 kB / 427.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.261, allocations: 0 / 427.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.261, allocations: 8 kB / 427.8 MB, free: 9.902 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.323e-05/0.2611, allocations: 121.8 kB / 428 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.2612, allocations: 53.59 kB / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.2612, allocations: 11.95 kB / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2612, allocations: 4.062 kB / 428 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2612, allocations: 0 / 428 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2612, allocations: 0 / 428 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2614, allocations: 152.6 kB / 428.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2614, allocations: 0 / 428.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.2615, allocations: 15.98 kB / 428.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2615, allocations: 4 kB / 428.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2615, allocations: 0 / 428.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2615, allocations: 3.938 kB / 428.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2615, allocations: 0 / 428.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.2617, allocations: 181.1 kB / 428.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.2617, allocations: 23.92 kB / 428.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2617, allocations: 0 / 428.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.2618, allocations: 4 kB / 428.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.2618, allocations: 3.984 kB / 428.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.2618, allocations: 8 kB / 428.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.2619, allocations: 111.2 kB / 428.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2619, allocations: 0 / 428.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.2621, allocations: 8 kB / 428.5 MB, free: 9.125 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.0004985/0.2626, allocations: 0.7141 MB / 429.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2628, allocations: 31.92 kB / 429.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2628, allocations: 0 / 429.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.2628, allocations: 15.98 kB / 429.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2631, allocations: 23.3 kB / 429.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2645, allocations: 1.399 MB / 430.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2648, allocations: 0.6961 MB / 431.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.2648, allocations: 0 / 431.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.2649, allocations: 19.42 kB / 431.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2649, allocations: 0 / 431.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2853, allocations: 1.814 MB / 433.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.77, allocations: 4.062 kB / 433.3 MB, free: 4.391 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.152042705041822]