Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.0008321/0.0008321, allocations: 76.5 kB / 19.92 MB, free: 4.637 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.0009247/0.0009247, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.878/0.878, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.136/0.136, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.374e-05, allocations: 14.08 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001136/0.00116, allocations: 0.5065 MB / 407.4 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.003206, allocations: 1.936 MB / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.003221, allocations: 0 / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.003237, allocations: 0 / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.003244, allocations: 0 / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.004297, allocations: 0.5023 MB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.004349, allocations: 7.984 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.004387, allocations: 0 / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.004415, allocations: 0 / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.921e-05/0.004435, allocations: 0 / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.004442, allocations: 0 / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.00548, allocations: 0.6588 MB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-06/0.005488, allocations: 0 / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.005506, allocations: 4 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.005946, allocations: 474.8 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.00595, allocations: 7.984 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005952, allocations: 0 / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.005958, allocations: 3.938 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003317/0.00629, allocations: 331.5 kB / 411.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.006334, allocations: 16.03 kB / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.006381, allocations: 30.75 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.006403, allocations: 0.9375 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.062e-05/0.006454, allocations: 105.8 kB / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.006463, allocations: 4.312 kB / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.006472, allocations: 4.375 kB / 411.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.006558, allocations: 59.95 kB / 411.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.006564, allocations: 192 / 411.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.006572, allocations: 4.125 kB / 411.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.006578, allocations: 3.984 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.006602, allocations: 33.7 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.006775, allocations: 203.9 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.006825, allocations: 48.3 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.006854, allocations: 38.62 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006865, allocations: 7.875 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.0069, allocations: 60.27 kB / 411.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.006901, allocations: 0 / 411.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.00708, allocations: 126.7 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.007117, allocations: 77.11 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.857e-05/0.007145, allocations: 93.98 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.007155, allocations: 25.7 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.007183, allocations: 84.14 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.007204, allocations: 11.94 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.007226, allocations: 13.72 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.007302, allocations: 310.8 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.007321, allocations: 25.7 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.007335, allocations: 33.7 kB / 412.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.007381, allocations: 64.25 kB / 412.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007382, allocations: 0 / 412.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.285e-05/0.007445, allocations: 105 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.007469, allocations: 29.7 kB / 412.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007474, allocations: 0 / 412.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007489, allocations: 7.984 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-05/0.007512, allocations: 4 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007518, allocations: 0 / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.007532, allocations: 0 / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.00754, allocations: 0 / 412.9 MB, free: 11.89 MB / 394.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: 2 ($outputAlias_result,result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.27e-05/0.007603, allocations: 139.5 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.007616, allocations: 3.938 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.007629, allocations: 7.188 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.007633, allocations: 4 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007637, allocations: 0 / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00764, allocations: 0 / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.007807, allocations: 305 kB / 413.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007808, allocations: 0 / 413.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-06/0.007812, allocations: 0 / 413.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.007813, allocations: 3.938 kB / 413.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.007818, allocations: 0 / 413.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007819, allocations: 0 / 413.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00782, allocations: 4.031 kB / 413.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.007904, allocations: 202.8 kB / 413.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.007909, allocations: 4 kB / 413.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-06/0.007918, allocations: 0 / 413.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.007941, allocations: 0 / 413.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.007955, allocations: 3.938 kB / 413.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.00796, allocations: 7.984 kB / 413.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.938e-05/0.007979, allocations: 75.28 kB / 413.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007979, allocations: 0 / 413.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.00829, allocations: 123.6 kB / 413.7 MB, free: 10.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0008205/0.00911, allocations: 0.9823 MB / 414.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.009225, allocations: 122.7 kB / 414.8 MB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009227, allocations: 96 / 414.8 MB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.009257, allocations: 89.11 kB / 414.9 MB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.009403, allocations: 0 / 414.9 MB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.01015, allocations: 1.337 MB / 416.2 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.01019, allocations: 55.36 kB / 416.3 MB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.158e-05/0.0102, allocations: 0 / 416.3 MB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.01023, allocations: 12.48 kB / 416.3 MB, free: 8.102 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01023, allocations: 0 / 416.3 MB, free: 8.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.02722, allocations: 5.078 MB / 421.4 MB, free: 2.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.055, allocations: 15.91 kB / 421.4 MB, free: 2.98 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.155111093074083]