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.0008433/0.0008433, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008102/0.0008102, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9309/0.9309, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.254e-06/2.254e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.393e-05, allocations: 4.672 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002214/0.002238, allocations: 1.602 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.003007, allocations: 0.5413 MB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.003106, allocations: 3.938 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.003152, allocations: 7.922 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.003289, allocations: 11.88 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.003671, allocations: 71.67 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003786, allocations: 47.8 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003893, allocations: 12.17 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.004039, allocations: 43.83 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.00409, allocations: 7.984 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.004105, allocations: 4 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.004144, allocations: 8 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.004192, allocations: 15.92 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.004217, allocations: 19.92 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.004372, allocations: 55.8 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.004378, allocations: 4 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004379, allocations: 0 / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004384, allocations: 0 / 327 MB, free: 13.46 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.0004084/0.004792, allocations: 301.9 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.004836, allocations: 12.03 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.004868, allocations: 38.73 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.004986, allocations: 20.89 kB / 327.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.005211, allocations: 146.1 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005226, allocations: 4.375 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.005235, allocations: 384 / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.005483, allocations: 122 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.00549, allocations: 4 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.005499, allocations: 0 / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.005505, allocations: 7.984 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.005552, allocations: 19.98 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.00584, allocations: 245.6 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.005936, allocations: 67.78 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.005976, allocations: 30.62 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.006, allocations: 0 / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.006023, allocations: 42.56 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.006024, allocations: 0 / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002122/0.006236, allocations: 85.5 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.006288, allocations: 106.8 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.006391, allocations: 152.8 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006402, allocations: 29.7 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.006448, allocations: 84.14 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.006464, allocations: 384 / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.006495, allocations: 29.66 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.006584, allocations: 318.8 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.006611, allocations: 11.92 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.006628, allocations: 8 kB / 328.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.00667, allocations: 20.78 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006673, allocations: 0 / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.2e-05/0.006745, allocations: 49.69 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.00676, allocations: 8.094 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.006767, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.006781, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.006848, allocations: 7.984 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006853, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.006869, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.006877, allocations: 4 kB / 329 MB, free: 11.27 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 6.922e-05/0.006946, allocations: 117.8 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.006999, allocations: 57.56 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.007035, allocations: 20.02 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.00704, allocations: 4 kB / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.007044, allocations: 0 / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.007048, allocations: 0 / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.007178, allocations: 144.7 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007179, allocations: 0 / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.00722, allocations: 11.98 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.007223, allocations: 0 / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.00723, allocations: 4 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007232, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007232, allocations: 3.938 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.007357, allocations: 189.1 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.007394, allocations: 19.88 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.007407, allocations: 4 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.00744, allocations: 0 / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.007469, allocations: 7.984 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.007472, allocations: 0 / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.007529, allocations: 119.2 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007529, allocations: 0 / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.007669, allocations: 4 kB / 329.7 MB, free: 10.5 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.0003055/0.007975, allocations: 0.7063 MB / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008077, allocations: 27.86 kB / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.008079, allocations: 3.938 kB / 330.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.008101, allocations: 15.98 kB / 330.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.008401, allocations: 23.95 kB / 330.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.009352, allocations: 1.331 MB / 331.8 MB, free: 8.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.009417, allocations: 83.02 kB / 331.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.158e-05/0.009448, allocations: 4 kB / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.009494, allocations: 20.48 kB / 331.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009495, allocations: 0 / 331.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.02872, allocations: 2.362 MB / 334.2 MB, free: 5.906 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.235, allocations: 4.062 kB / 334.2 MB, free: 5.902 MB / 298.7 MB " [Timeout remaining time 653] (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/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_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: 8.957001536153257]