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.001304/0.001304, allocations: 119.4 kB / 18.41 MB, free: 4.516 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.001297/0.001297, allocations: 188.3 kB / 21.34 MB, free: 1.59 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.446/1.446, allocations: 222.9 MB / 247 MB, free: 4.199 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: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 51.92 kB / 358.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1101, allocations: 49.43 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001798/0.1119, allocations: 0.5215 MB / 408.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1147, allocations: 1.806 MB / 410.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.1148, allocations: 0 / 410.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.1167, allocations: 131.5 kB / 410.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.1168, allocations: 27.91 kB / 410.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1171, allocations: 47.86 kB / 410.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1172, allocations: 71.81 kB / 410.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1173, allocations: 4 kB / 410.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.1173, allocations: 35.84 kB / 410.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1175, allocations: 31.91 kB / 410.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1175, allocations: 0 / 410.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.1176, allocations: 15.98 kB / 410.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.1177, allocations: 15.92 kB / 410.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1177, allocations: 19.88 kB / 410.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.118, allocations: 79.64 kB / 410.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.118, allocations: 0 / 410.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.118, allocations: 3.938 kB / 410.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.118, allocations: 0 / 410.9 MB, free: 4.074 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.0005308/0.1186, allocations: 408.8 kB / 411.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1186, allocations: 8.031 kB / 411.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.1187, allocations: 4.938 kB / 411.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.119, allocations: 213.6 kB / 411.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.119, allocations: 4.375 kB / 411.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.119, allocations: 384 / 411.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1192, allocations: 74.3 kB / 411.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1192, allocations: 0 / 411.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1192, allocations: 4 kB / 411.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1192, allocations: 3.938 kB / 411.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.1192, allocations: 7.984 kB / 411.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.1196, allocations: 173.7 kB / 411.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.1197, allocations: 22.58 kB / 411.8 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.1197, allocations: 4.859 kB / 411.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.1197, allocations: 8.062 kB / 411.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.1198, allocations: 60.2 kB / 411.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1198, allocations: 0 / 411.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.1199, allocations: 49.58 kB / 411.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.12, allocations: 158.2 kB / 412.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1202, allocations: 156.3 kB / 412.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1202, allocations: 29.64 kB / 412.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.1203, allocations: 96.25 kB / 412.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1203, allocations: 4 kB / 412.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1204, allocations: 17.72 kB / 412.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1205, allocations: 322.8 kB / 412.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.1206, allocations: 4 kB / 412.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.1206, allocations: 48.28 kB / 412.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.1207, allocations: 20.86 kB / 412.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1207, allocations: 0 / 412.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.107e-05/0.1208, allocations: 53.58 kB / 412.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1208, allocations: 4 kB / 412.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1208, allocations: 0 / 412.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1208, allocations: 0 / 412.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.222e-05/0.1208, allocations: 4 kB / 412.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1209, allocations: 0 / 412.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1209, allocations: 4 kB / 412.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1209, allocations: 4.031 kB / 412.8 MB, free: 1.855 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.000101/0.1211, allocations: 121.8 kB / 412.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1211, allocations: 11.89 kB / 412.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.1211, allocations: 7.875 kB / 412.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1211, allocations: 3.938 kB / 412.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1211, allocations: 0 / 412.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1211, allocations: 3.938 kB / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1213, allocations: 177.6 kB / 413.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1214, allocations: 4 kB / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.1214, allocations: 7.938 kB / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1214, allocations: 0 / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1214, allocations: 0 / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1214, allocations: 0 / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1214, allocations: 0 / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1216, allocations: 73.08 kB / 413.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.1216, allocations: 93.02 kB / 413.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1217, allocations: 8.094 kB / 413.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.1217, allocations: 0 / 413.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.1218, allocations: 0 / 413.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1218, allocations: 4 kB / 413.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.1219, allocations: 123.2 kB / 413.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1219, allocations: 0 / 413.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1221, allocations: 15.94 kB / 413.4 MB, free: 1.113 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.0004893/0.1226, allocations: 183.1 kB / 413.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.1227, allocations: 16 kB / 413.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1227, allocations: 0 / 413.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.1227, allocations: 7.984 kB / 413.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.1229, allocations: 14.44 kB / 413.7 MB, free: 0.9297 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:7733:5-7733:67:writable] Error: Internal error createModelInfo failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3799465730553493] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 0.1309777069836855 0.14387044199999996 0.023206743000000002 Calling exit ...