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.00133/0.00133, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001522/0.001522, allocations: 210.8 kB / 23.74 MB, free: 4.672 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.643/1.643, allocations: 230.6 MB / 257.5 MB, free: 8.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 47.94 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.354, allocations: 53.37 MB / 431.1 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003191/0.3572, allocations: 1.584 MB / 432.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3583, allocations: 0.5765 MB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.3584, allocations: 0 / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.205e-05/0.3585, allocations: 3.938 kB / 433.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3586, allocations: 19.84 kB / 433.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.359, allocations: 59.77 kB / 433.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3591, allocations: 47.84 kB / 433.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.3592, allocations: 12.17 kB / 433.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3593, allocations: 31.86 kB / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.3594, allocations: 19.86 kB / 433.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3594, allocations: 4 kB / 433.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.3594, allocations: 4 kB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.3595, allocations: 19.91 kB / 433.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.3595, allocations: 27.81 kB / 433.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3597, allocations: 65.64 kB / 433.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3597, allocations: 0 / 433.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3597, allocations: 0 / 433.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3597, allocations: 0 / 433.6 MB, free: 4.52 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.0004827/0.3602, allocations: 313.9 kB / 433.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3602, allocations: 8.031 kB / 433.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.3603, allocations: 30.75 kB / 433.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3604, allocations: 24.88 kB / 434 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3607, allocations: 133.5 kB / 434.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3607, allocations: 12.31 kB / 434.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3607, allocations: 4.312 kB / 434.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.361, allocations: 117 kB / 434.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.361, allocations: 0 / 434.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.361, allocations: 4 kB / 434.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.361, allocations: 0 / 434.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.3611, allocations: 19.92 kB / 434.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.3615, allocations: 236.8 kB / 434.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3616, allocations: 49.14 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.3616, allocations: 13.78 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3616, allocations: 8 kB / 434.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3617, allocations: 34.56 kB / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3617, allocations: 0 / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002658/0.3619, allocations: 69.56 kB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.362, allocations: 77.11 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3621, allocations: 138.1 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3622, allocations: 33.7 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.3622, allocations: 88.14 kB / 435 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3622, allocations: 3.953 kB / 435 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.3623, allocations: 17.7 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3624, allocations: 318.8 kB / 435.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.3625, allocations: 11.98 kB / 435.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.3625, allocations: 25.66 kB / 435.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.3626, allocations: 29.7 kB / 435.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3626, allocations: 0 / 435.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.3627, allocations: 53.58 kB / 435.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3627, allocations: 4 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3627, allocations: 7.984 kB / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3628, allocations: 4.125 kB / 435.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.3628, allocations: 8 kB / 435.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3628, allocations: 0 / 435.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.3629, allocations: 4 kB / 435.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3629, allocations: 0 / 435.5 MB, free: 2.422 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.061e-05/0.363, allocations: 117.8 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.363, allocations: 45.59 kB / 435.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.3631, allocations: 15.75 kB / 435.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3631, allocations: 7.969 kB / 435.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3631, allocations: 0 / 435.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3631, allocations: 0 / 435.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3633, allocations: 144.7 kB / 435.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3633, allocations: 0 / 435.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.3633, allocations: 4 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3633, allocations: 0 / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3633, allocations: 11.94 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3633, allocations: 0 / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3633, allocations: 7.984 kB / 435.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3635, allocations: 164.3 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3635, allocations: 19.88 kB / 436 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3636, allocations: 0 / 436 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.3636, allocations: 4 kB / 436 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3637, allocations: 0 / 436 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3637, allocations: 0 / 436 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.3638, allocations: 117.7 kB / 436.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3638, allocations: 0 / 436.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.364, allocations: 4 kB / 436.1 MB, free: 1.695 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.0005036/0.3645, allocations: 0.6937 MB / 436.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.3646, allocations: 23.92 kB / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3646, allocations: 0 / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.3647, allocations: 11.98 kB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.365, allocations: 15.91 kB / 436.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3665, allocations: 1.332 MB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3668, allocations: 0.6885 MB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.3669, allocations: 4 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.3669, allocations: 19.42 kB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3669, allocations: 4.031 kB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.3975, allocations: 1.662 MB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.02, allocations: 14.66 kB / 440.6 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 648] (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] Reference file matches [Calling sys.exit(0), Time elapsed: 14.73849444813095]