Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001686/0.001686, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002029/0.002029, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.591/1.591, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 48.06 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3598, allocations: 53.37 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003558/0.3633, allocations: 1.613 MB / 432.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3644, allocations: 0.5765 MB / 433.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.3645, allocations: 7.875 kB / 433.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.3646, allocations: 7.938 kB / 433.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.3647, allocations: 15.86 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3651, allocations: 63.75 kB / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.3652, allocations: 51.84 kB / 433.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.3653, allocations: 12.17 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3654, allocations: 31.8 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.3655, allocations: 23.86 kB / 433.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3655, allocations: 4 kB / 433.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.605e-05/0.3655, allocations: 4 kB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.3656, allocations: 19.91 kB / 433.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.3656, allocations: 27.75 kB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3658, allocations: 69.42 kB / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3658, allocations: 0 / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3658, allocations: 0 / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.3658, allocations: 0 / 433.7 MB, free: 4.316 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.0005241/0.3663, allocations: 309.9 kB / 434 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3664, allocations: 8.031 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.3664, allocations: 30.75 kB / 434 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3666, allocations: 24.88 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3668, allocations: 146.9 kB / 434.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3669, allocations: 12.11 kB / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3669, allocations: 0 / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.3672, allocations: 117.9 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3672, allocations: 0 / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3672, allocations: 0 / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3672, allocations: 4 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.3673, allocations: 23.92 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.3676, allocations: 237.7 kB / 434.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3678, allocations: 71.78 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.3678, allocations: 30.62 kB / 434.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3679, allocations: 8 kB / 434.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3679, allocations: 38.5 kB / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3679, allocations: 0 / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002834/0.3682, allocations: 85.52 kB / 434.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.3683, allocations: 102.8 kB / 434.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3684, allocations: 160 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3684, allocations: 25.7 kB / 435.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.3685, allocations: 92.08 kB / 435.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.3685, allocations: 7.984 kB / 435.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3685, allocations: 17.67 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3687, allocations: 318.8 kB / 435.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.3687, allocations: 11.92 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.3688, allocations: 39.42 kB / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.663e-05/0.3689, allocations: 51.36 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3689, allocations: 0 / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.369, allocations: 69.62 kB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.369, allocations: 4 kB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.369, allocations: 3.984 kB / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3691, allocations: 7.938 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.3691, allocations: 4 kB / 435.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3691, allocations: 7.938 kB / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.3692, allocations: 0 / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3692, allocations: 4 kB / 435.7 MB, free: 2.012 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.817e-05/0.3693, allocations: 125.9 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.3694, allocations: 57.69 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3694, allocations: 15.95 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3694, allocations: 0 / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3694, allocations: 3.938 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3694, allocations: 0 / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3696, allocations: 144.7 kB / 436 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3696, allocations: 7.922 kB / 436 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3697, allocations: 8 kB / 436 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3697, allocations: 8.062 kB / 436.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3697, allocations: 4 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3697, allocations: 0 / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3697, allocations: 3.938 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3699, allocations: 173.2 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.3699, allocations: 19.94 kB / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3699, allocations: 7.938 kB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.37, allocations: 3.984 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.37, allocations: 3.938 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.37, allocations: 4 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.3701, allocations: 116.9 kB / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3701, allocations: 3.938 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.3704, allocations: 4 kB / 436.4 MB, free: 1.227 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.0005063/0.3709, allocations: 0.7024 MB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.371, allocations: 40.09 kB / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.371, allocations: 0 / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.3711, allocations: 11.94 kB / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3714, allocations: 30.2 kB / 437.2 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3729, allocations: 1.402 MB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3732, allocations: 0.6962 MB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.3733, allocations: 12.12 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.3733, allocations: 19.44 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3733, allocations: 0 / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4025, allocations: 1.814 MB / 441.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.25, allocations: 11.39 kB / 441.1 MB, free: 12.46 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.RealSignals.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: 13.891047776909545]