Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.00131/0.00131, allocations: 107.5 kB / 20.44 MB, free: 1.328 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.001302/0.001302, allocations: 187.2 kB / 23.7 MB, free: 4.527 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.353/1.353, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2384, allocations: 52.18 MB / 422.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001682/0.2401, allocations: 0.5309 MB / 423.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2425, allocations: 1.858 MB / 424.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.2425, allocations: 0 / 424.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.245, allocations: 135.8 kB / 425.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.245, allocations: 23.97 kB / 425.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.2452, allocations: 47.86 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.2453, allocations: 43.91 kB / 425.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.2454, allocations: 7.984 kB / 425.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.2454, allocations: 39.8 kB / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.2455, allocations: 19.91 kB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2456, allocations: 4 kB / 425.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.2456, allocations: 15.98 kB / 425.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2457, allocations: 59.81 kB / 425.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.2458, allocations: 27.75 kB / 425.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.246, allocations: 109.2 kB / 425.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.246, allocations: 8 kB / 425.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.246, allocations: 3.938 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.246, allocations: 3.938 kB / 425.5 MB, free: 11.46 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006328/0.2467, allocations: 419.2 kB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2467, allocations: 8.031 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.2467, allocations: 30.75 kB / 425.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.2468, allocations: 16.84 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.2471, allocations: 191.2 kB / 426.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2471, allocations: 4.359 kB / 426.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2471, allocations: 4.375 kB / 426.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2473, allocations: 176.9 kB / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.2473, allocations: 0 / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2473, allocations: 0 / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2473, allocations: 4 kB / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.2473, allocations: 8 kB / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.2476, allocations: 168.7 kB / 426.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.352e-05/0.2477, allocations: 22.52 kB / 426.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.2477, allocations: 8.922 kB / 426.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.2477, allocations: 0 / 426.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.2477, allocations: 60.2 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2478, allocations: 0 / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.2479, allocations: 57.59 kB / 426.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.248, allocations: 154.2 kB / 426.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.2483, allocations: 239.9 kB / 427 MB, free: 9.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2483, allocations: 25.7 kB / 427 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.2483, allocations: 112.1 kB / 427.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.2484, allocations: 3.953 kB / 427.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.2484, allocations: 25.66 kB / 427.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2485, allocations: 322.8 kB / 427.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.2486, allocations: 4 kB / 427.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2487, allocations: 147.1 kB / 427.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.2487, allocations: 12.86 kB / 427.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2487, allocations: 4.062 kB / 427.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.116e-05/0.2488, allocations: 57.53 kB / 427.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2488, allocations: 8 kB / 427.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2488, allocations: 0 / 427.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2488, allocations: 3.938 kB / 427.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.2488, allocations: 4 kB / 427.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.2488, allocations: 3.938 kB / 427.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.2489, allocations: 11.98 kB / 427.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2489, allocations: 4 kB / 427.8 MB, free: 8.871 MB / 334.1 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 (2): * Single equations (assignments): 2 * 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 0.0001075/0.2491, allocations: 129.8 kB / 427.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.2491, allocations: 19.92 kB / 427.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.2491, allocations: 20.48 kB / 427.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2491, allocations: 3.938 kB / 427.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2491, allocations: 0 / 427.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.2491, allocations: 0 / 427.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2493, allocations: 160.7 kB / 428.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2493, allocations: 4 kB / 428.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.2494, allocations: 3.938 kB / 428.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2494, allocations: 3.984 kB / 428.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2494, allocations: 0 / 428.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2494, allocations: 0 / 428.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2494, allocations: 4 kB / 428.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.2495, allocations: 84.97 kB / 428.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.2496, allocations: 35.84 kB / 428.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.2496, allocations: 0 / 428.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.2497, allocations: 11.98 kB / 428.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.2497, allocations: 0 / 428.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2497, allocations: 4 kB / 428.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.2499, allocations: 177.4 kB / 428.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2499, allocations: 0 / 428.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.2501, allocations: 15.94 kB / 428.4 MB, free: 8.137 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (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 Backend phase and start with SimCode phase: time 0.0007879/0.2509, allocations: 0.7141 MB / 429.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.251, allocations: 11.94 kB / 429.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.251, allocations: 0 / 429.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.251, allocations: 4 kB / 429.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.2512, allocations: 16 kB / 429.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.2532, allocations: 1.821 MB / 431 MB, free: 5.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.2533, allocations: 97.3 kB / 431.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.369e-05/0.2533, allocations: 32.64 kB / 431.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2534, allocations: 59.39 kB / 431.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2534, allocations: 3.938 kB / 431.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.2881, allocations: 4.535 MB / 435.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.96, allocations: 2.922 kB / 435.7 MB, free: 0.8281 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.283164617139846]