Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001448/0.001448, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 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.001724/0.001724, allocations: 215.8 kB / 23.77 MB, free: 4.551 MB / 14.72 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 1.458/1.458, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.2238/0.2238, allocations: 44.27 MB / 331.1 MB, free: 9.328 MB / 270.1 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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 72.36 kB / 468.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1137, allocations: 61.06 MB / 0.5169 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001769/0.1154, allocations: 0.4948 MB / 0.5174 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.1158, allocations: 99.67 kB / 0.5175 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.1158, allocations: 0 / 0.5175 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1158, allocations: 3.938 kB / 0.5175 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.397e-05/0.1158, allocations: 4 kB / 0.5175 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.116, allocations: 15.97 kB / 0.5175 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.1161, allocations: 4 kB / 0.5175 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.1161, allocations: 11.98 kB / 0.5175 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.1162, allocations: 11.92 kB / 0.5175 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.1162, allocations: 3.938 kB / 0.5175 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1162, allocations: 0 / 0.5175 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.1163, allocations: 35.97 kB / 0.5176 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1164, allocations: 3.984 kB / 0.5176 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.1164, allocations: 11.94 kB / 0.5176 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1166, allocations: 32.17 kB / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1166, allocations: 0 / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1166, allocations: 0 / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1166, allocations: 0 / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004067/0.117, allocations: 258.3 kB / 0.5179 GB, free: 6.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.117, allocations: 8.031 kB / 0.5179 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.589e-05/0.117, allocations: 4.188 kB / 0.5179 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.1171, allocations: 34.69 kB / 0.5179 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.1171, allocations: 0.9375 kB / 0.5179 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1172, allocations: 110.5 kB / 0.518 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1172, allocations: 8.375 kB / 0.518 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1172, allocations: 4.375 kB / 0.518 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1174, allocations: 63.66 kB / 0.5181 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1174, allocations: 0 / 0.5181 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1174, allocations: 0 / 0.5181 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1174, allocations: 0 / 0.5181 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.289e-05/0.1174, allocations: 15.98 kB / 0.5181 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1178, allocations: 292.2 kB / 0.5184 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/0.1179, allocations: 22.52 kB / 0.5184 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.1179, allocations: 16.94 kB / 0.5184 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.118, allocations: 8 kB / 0.5184 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.118, allocations: 30.56 kB / 0.5185 GB, free: 5.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.118, allocations: 0 / 0.5185 GB, free: 5.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002207/0.1182, allocations: 61.58 kB / 0.5185 GB, free: 5.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1183, allocations: 51.41 kB / 0.5186 GB, free: 5.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.1184, allocations: 93.86 kB / 0.5187 GB, free: 5.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1184, allocations: 25.7 kB / 0.5187 GB, free: 5.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1184, allocations: 80.14 kB / 0.5188 GB, free: 5.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.1185, allocations: 19.89 kB / 0.5188 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1185, allocations: 17.84 kB / 0.5188 GB, free: 5.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1187, allocations: 314.8 kB / 0.5191 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.1187, allocations: 4 kB / 0.5191 GB, free: 4.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.1187, allocations: 25.7 kB / 0.5191 GB, free: 4.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.1188, allocations: 29.84 kB / 0.5192 GB, free: 4.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1188, allocations: 0 / 0.5192 GB, free: 4.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001103/0.1189, allocations: 61.61 kB / 0.5192 GB, free: 4.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1189, allocations: 4 kB / 0.5192 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1189, allocations: 0 / 0.5192 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.119, allocations: 0 / 0.5192 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.119, allocations: 16.02 kB / 0.5192 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1191, allocations: 3.938 kB / 0.5192 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.1191, allocations: 11.89 kB / 0.5192 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1191, allocations: 0 / 0.5192 GB, free: 4.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.628e-05/0.1192, allocations: 117.8 kB / 0.5194 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1192, allocations: 3.938 kB / 0.5194 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.1194, allocations: 61.38 kB / 0.5194 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1194, allocations: 0 / 0.5194 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1194, allocations: 192 / 0.5194 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1194, allocations: 3.984 kB / 0.5194 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1196, allocations: 140.6 kB / 0.5196 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1196, allocations: 0 / 0.5196 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.1196, allocations: 7.938 kB / 0.5196 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1196, allocations: 4 kB / 0.5196 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1196, allocations: 0 / 0.5196 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1196, allocations: 3.984 kB / 0.5196 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1196, allocations: 0 / 0.5196 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1198, allocations: 159.4 kB / 0.5197 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.1198, allocations: 0 / 0.5197 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1198, allocations: 0 / 0.5197 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.1199, allocations: 0 / 0.5197 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1199, allocations: 8 kB / 0.5197 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1199, allocations: 0 / 0.5197 GB, free: 4.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.12, allocations: 83.27 kB / 0.5198 GB, free: 3.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.12, allocations: 0 / 0.5198 GB, free: 3.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1202, allocations: 8 kB / 0.5198 GB, free: 3.941 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0005286/0.1207, allocations: 0.6851 MB / 0.5205 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1209, allocations: 19.98 kB / 0.5205 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1209, allocations: 3.938 kB / 0.5205 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.1209, allocations: 16 kB / 0.5205 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1211, allocations: 8.094 kB / 0.5205 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1215, allocations: 138.5 kB / 0.5207 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.1216, allocations: 63.34 kB / 0.5207 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.1216, allocations: 0 / 0.5207 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1217, allocations: 11.44 kB / 0.5207 GB, free: 2.91 MB / 398.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1217, allocations: 0 / 0.5207 GB, free: 2.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1437, allocations: 1.491 MB / 0.5222 GB, free: 1.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.37, allocations: 1 kB / 0.5222 GB, free: 1.422 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.31742833100725] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 11.53869110904634 11.564568016 11.443421341 Calling exit ...