Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009564/0.0009564, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8929/0.8929, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.803e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002601/0.002629, allocations: 1.611 MB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.003389, allocations: 0.5258 MB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.003473, allocations: 7.938 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.003519, allocations: 11.92 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.003657, allocations: 15.88 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.003949, allocations: 67.61 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.004047, allocations: 55.73 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.004139, allocations: 8.172 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.004259, allocations: 39.89 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.004305, allocations: 15.92 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.004321, allocations: 4 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.004358, allocations: 4 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.004402, allocations: 15.94 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.004425, allocations: 23.91 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.004546, allocations: 55.8 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004548, allocations: 0 / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004549, allocations: 0 / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004553, allocations: 0 / 327 MB, free: 13.41 MB / 298.7 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.0003754/0.004929, allocations: 305.9 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.004966, allocations: 11.98 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.004996, allocations: 42.73 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.0051, allocations: 12.89 kB / 327.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.005293, allocations: 150.2 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.005301, allocations: 384 / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.005311, allocations: 4.375 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.005532, allocations: 118 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005539, allocations: 0 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005548, allocations: 0 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005554, allocations: 11.92 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.005609, allocations: 23.92 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.005863, allocations: 241.7 kB / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.005942, allocations: 67.78 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.005983, allocations: 34.62 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.006003, allocations: 7.922 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.006025, allocations: 38.56 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006026, allocations: 4 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.006214, allocations: 81.56 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.006261, allocations: 114.7 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.006354, allocations: 148.8 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006364, allocations: 29.7 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.006405, allocations: 88.14 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.006416, allocations: 0 / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.006444, allocations: 22.03 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.006514, allocations: 322.8 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.006536, allocations: 7.984 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.006557, allocations: 8 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.006597, allocations: 20.84 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006598, allocations: 0 / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.263e-05/0.006661, allocations: 49.62 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.006673, allocations: 4 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006677, allocations: 8.094 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006688, allocations: 0 / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.006735, allocations: 3.984 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006739, allocations: 4 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.006755, allocations: 0 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006761, allocations: 3.984 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.693e-05/0.006818, allocations: 117.8 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.006863, allocations: 57.58 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.006888, allocations: 15.95 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.00689, allocations: 4.062 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006894, allocations: 0 / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006897, allocations: 4 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.007003, allocations: 136.7 kB / 329.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007004, allocations: 4 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.007037, allocations: 15.92 kB / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007039, allocations: 0 / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.007045, allocations: 0 / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007047, allocations: 0 / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.00705, allocations: 4 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.007162, allocations: 189 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.007193, allocations: 23.88 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.007204, allocations: 0 / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.007239, allocations: 4 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.007263, allocations: 3.984 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007267, allocations: 4 kB / 329.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.007318, allocations: 111.2 kB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007318, allocations: 0 / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000152/0.00747, allocations: 12 kB / 329.6 MB, free: 10.44 MB / 298.7 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.0002888/0.007759, allocations: 0.7024 MB / 330.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.651e-05/0.007846, allocations: 27.92 kB / 330.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007847, allocations: 0 / 330.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.007867, allocations: 11.98 kB / 330.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.008123, allocations: 35.33 kB / 330.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.00897, allocations: 1.323 MB / 331.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.009024, allocations: 79.02 kB / 331.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.647e-05/0.009051, allocations: 7.938 kB / 331.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.009091, allocations: 24.48 kB / 331.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009091, allocations: 0 / 331.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02402, allocations: 2.361 MB / 334.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.621, allocations: 2.922 kB / 334.2 MB, free: 5.828 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.384471322409809]