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.001268/0.001268, allocations: 119.9 kB / 17.79 MB, free: 5.137 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.002079/0.002079, allocations: 185.2 kB / 20.73 MB, free: 2.207 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.422/1.422, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.92 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002855/0.112, allocations: 1.586 MB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.1129, allocations: 0.5064 MB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.1129, allocations: 4 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.113, allocations: 3.938 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1131, allocations: 15.88 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1134, allocations: 59.8 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1135, allocations: 39.86 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.1136, allocations: 12.17 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.1137, allocations: 27.84 kB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.1137, allocations: 19.92 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1137, allocations: 11.88 kB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.1138, allocations: 0 / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.1138, allocations: 12 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1138, allocations: 35.73 kB / 420.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.114, allocations: 47.75 kB / 420.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.114, allocations: 7.938 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.114, allocations: 0 / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.114, allocations: 0 / 420.2 MB, free: 10.18 MB / 350.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.0005225/0.1145, allocations: 383 kB / 420.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1145, allocations: 12.03 kB / 420.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.1146, allocations: 34.75 kB / 420.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1146, allocations: 12.89 kB / 420.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1149, allocations: 206.2 kB / 420.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1149, allocations: 4.375 kB / 420.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1149, allocations: 384 / 420.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.1152, allocations: 121.8 kB / 420.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1152, allocations: 0 / 420.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.1152, allocations: 0 / 420.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1152, allocations: 0 / 420.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.1153, allocations: 27.97 kB / 421 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1156, allocations: 278.5 kB / 421.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1157, allocations: 67.78 kB / 421.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.1158, allocations: 26.64 kB / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1158, allocations: 4 kB / 421.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1158, allocations: 42.55 kB / 421.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1158, allocations: 0 / 421.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002776/0.1161, allocations: 81.5 kB / 421.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.1162, allocations: 111.2 kB / 421.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1164, allocations: 145.8 kB / 421.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1164, allocations: 25.7 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1165, allocations: 84.14 kB / 421.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1165, allocations: 11.95 kB / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1165, allocations: 13.72 kB / 421.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1167, allocations: 322.8 kB / 422.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.1167, allocations: 7.984 kB / 422.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.1168, allocations: 39.38 kB / 422.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1169, allocations: 43.42 kB / 422.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1169, allocations: 7.938 kB / 422.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.117, allocations: 77.5 kB / 422.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.117, allocations: 4 kB / 422.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.117, allocations: 0 / 422.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1171, allocations: 4 kB / 422.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.1171, allocations: 15.98 kB / 422.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1171, allocations: 0 / 422.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1172, allocations: 4 kB / 422.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1172, allocations: 4.125 kB / 422.4 MB, free: 7.691 MB / 350.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.464e-05/0.1173, allocations: 122.4 kB / 422.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.1174, allocations: 57.53 kB / 422.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1174, allocations: 15.95 kB / 422.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1174, allocations: 3.984 kB / 422.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1174, allocations: 0 / 422.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1174, allocations: 4 kB / 422.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1176, allocations: 169.6 kB / 422.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1176, allocations: 4.062 kB / 422.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1177, allocations: 11.98 kB / 422.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1177, allocations: 4 kB / 422.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1177, allocations: 3.938 kB / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1177, allocations: 0 / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1177, allocations: 0 / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1179, allocations: 185.1 kB / 422.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.1179, allocations: 93.05 kB / 423 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.118, allocations: 0 / 423 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.118, allocations: 4 kB / 423 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.1181, allocations: 3.984 kB / 423 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1181, allocations: 4 kB / 423 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.1181, allocations: 105.5 kB / 423.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1181, allocations: 0 / 423.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1184, allocations: 4 kB / 423.1 MB, free: 6.805 MB / 350.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.0005014/0.1189, allocations: 0.7218 MB / 423.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.119, allocations: 39.92 kB / 423.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.119, allocations: 0 / 423.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.119, allocations: 7.984 kB / 423.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1194, allocations: 23.95 kB / 423.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.1209, allocations: 1.406 MB / 425.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1212, allocations: 0.6961 MB / 426 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.307e-05/0.1212, allocations: 4 kB / 426 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1213, allocations: 23.42 kB / 426.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1213, allocations: 0 / 426.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1461, allocations: 1.695 MB / 427.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.797/8.943, allocations: 14.72 kB / 427.8 MB, free: 2.129 MB / 350.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.83370830398053]