Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 114.8 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 216.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.362/1.362, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 51.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2369, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003037/0.2399, allocations: 1.577 MB / 433.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.241, allocations: 0.5803 MB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2412, allocations: 0 / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.677e-05/0.2412, allocations: 7.922 kB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.2414, allocations: 15.88 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.2418, allocations: 59.81 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.2419, allocations: 51.78 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.242, allocations: 12.17 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2421, allocations: 27.86 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.2422, allocations: 19.86 kB / 434.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2422, allocations: 7.984 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.059e-05/0.2422, allocations: 4 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.2423, allocations: 11.94 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.2423, allocations: 31.8 kB / 434.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2425, allocations: 68.52 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2425, allocations: 0 / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2425, allocations: 0 / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2425, allocations: 0 / 434.4 MB, free: 4.367 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.0005291/0.243, allocations: 302 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2431, allocations: 8.031 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.319e-05/0.2431, allocations: 192 / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.2431, allocations: 42.69 kB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.2433, allocations: 20.88 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.2436, allocations: 157.4 kB / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.2436, allocations: 384 / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2436, allocations: 8.125 kB / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2439, allocations: 105 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2439, allocations: 0 / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2439, allocations: 4 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.244, allocations: 0 / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.244, allocations: 19.92 kB / 435 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.2444, allocations: 236.8 kB / 435.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.2445, allocations: 41.16 kB / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.2445, allocations: 21.77 kB / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.2446, allocations: 0 / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2446, allocations: 34.56 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2446, allocations: 4 kB / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002612/0.2448, allocations: 69.56 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.2449, allocations: 77.11 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2451, allocations: 145.8 kB / 435.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.2451, allocations: 25.7 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.2452, allocations: 84.14 kB / 435.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2452, allocations: 8.203 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.2452, allocations: 17.66 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2454, allocations: 326.8 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.2454, allocations: 4 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.2455, allocations: 25.64 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.122e-05/0.2456, allocations: 33.77 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2456, allocations: 0 / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000124/0.2457, allocations: 57.58 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2457, allocations: 8 kB / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2457, allocations: 0 / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2457, allocations: 0 / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.2458, allocations: 7.984 kB / 436.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2458, allocations: 0 / 436.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.2458, allocations: 8.062 kB / 436.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2458, allocations: 3.984 kB / 436.3 MB, free: 2.266 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 9.418e-05/0.2459, allocations: 117.8 kB / 436.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.246, allocations: 49.52 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.246, allocations: 15.77 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.246, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.246, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.246, allocations: 4 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2462, allocations: 140.7 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2462, allocations: 4.031 kB / 436.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.2463, allocations: 7.984 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2463, allocations: 4 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2463, allocations: 4 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2463, allocations: 0 / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2463, allocations: 0 / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2465, allocations: 164.3 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.2465, allocations: 15.94 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2465, allocations: 4 kB / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.2466, allocations: 7.922 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.2466, allocations: 0 / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2466, allocations: 4 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.2467, allocations: 109.7 kB / 436.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2467, allocations: 0 / 436.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.2469, allocations: 4 kB / 436.9 MB, free: 1.547 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.0004734/0.2474, allocations: 0.6937 MB / 437.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.2475, allocations: 28.02 kB / 437.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2475, allocations: 0 / 437.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.2476, allocations: 12 kB / 437.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2479, allocations: 22.77 kB / 437.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2492, allocations: 1.335 MB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2495, allocations: 0.6924 MB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.031e-05/0.2496, allocations: 4 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.2496, allocations: 11.44 kB / 439.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2496, allocations: 0 / 439.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.2706, allocations: 1.695 MB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.63, allocations: 14.81 kB / 441.4 MB, free: 13.04 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,time [Calling sys.exit(0), Time elapsed: 13.038686547020916]