Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001668/0.001668, allocations: 119.8 kB / 17.74 MB, free: 5.297 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.002045/0.002045, allocations: 181.3 kB / 20.67 MB, free: 2.371 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.462/1.462, allocations: 222.9 MB / 246.4 MB, free: 4.215 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 357.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09761, allocations: 49.44 MB / 406.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00397/0.1016, allocations: 2.486 MB / 409.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.1022, allocations: 255 kB / 409.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1023, allocations: 4 kB / 409.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.1025, allocations: 47.56 kB / 409.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1027, allocations: 95.12 kB / 409.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1029, allocations: 63.92 kB / 409.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.1033, allocations: 314.5 kB / 410.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.1035, allocations: 111.3 kB / 410.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1037, allocations: 115.6 kB / 410.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1039, allocations: 127.4 kB / 410.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.1039, allocations: 24 kB / 410.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.104, allocations: 32 kB / 410.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.1041, allocations: 63.75 kB / 410.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.1042, allocations: 139.3 kB / 410.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1046, allocations: 314.7 kB / 411.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1046, allocations: 0 / 411.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1046, allocations: 0 / 411.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1047, allocations: 3.984 kB / 411.1 MB, free: 3.203 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008982/0.1056, allocations: 0.5767 MB / 411.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1056, allocations: 8.031 kB / 411.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.1057, allocations: 58.73 kB / 411.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.1057, allocations: 32.75 kB / 411.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1061, allocations: 255.9 kB / 412 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1061, allocations: 20.94 kB / 412 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.1062, allocations: 32.33 kB / 412 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1066, allocations: 247.2 kB / 412.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1066, allocations: 19.86 kB / 412.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.1067, allocations: 8 kB / 412.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1067, allocations: 11.94 kB / 412.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.107, allocations: 171.8 kB / 412.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1081, allocations: 0.7499 MB / 413.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.1086, allocations: 273 kB / 413.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1088, allocations: 128.6 kB / 413.6 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1088, allocations: 7.906 kB / 413.6 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1088, allocations: 38.56 kB / 413.7 MB, free: 404 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.1088, allocations: 0 / 413.7 MB, free: 404 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002819/0.1117, allocations: 1.716 MB / 415.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.1117, allocations: 81.11 kB / 415.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1119, allocations: 182.3 kB / 415.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.112, allocations: 33.7 kB / 415.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1121, allocations: 148.8 kB / 415.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.1122, allocations: 174.5 kB / 416 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1124, allocations: 78.22 kB / 416.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1125, allocations: 342.8 kB / 416.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1127, allocations: 97.09 kB / 416.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.1129, allocations: 165.4 kB / 416.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.1134, allocations: 283.7 kB / 417 MB, free: 12.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1134, allocations: 0 / 417 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000552/0.1139, allocations: 377.9 kB / 417.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.114, allocations: 4 kB / 417.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.114, allocations: 0 / 417.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.114, allocations: 8.062 kB / 417.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.1144, allocations: 99.89 kB / 417.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1144, allocations: 7.938 kB / 417.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1145, allocations: 8 kB / 417.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.1146, allocations: 12 kB / 417.5 MB, free: 12.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001627/0.1147, allocations: 154.2 kB / 417.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.1148, allocations: 31.8 kB / 417.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.1149, allocations: 37.86 kB / 417.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.1149, allocations: 8 kB / 417.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1149, allocations: 4 kB / 417.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1149, allocations: 0 / 417.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1163, allocations: 0.9486 MB / 418.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.1163, allocations: 0 / 418.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.1167, allocations: 103.8 kB / 418.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1167, allocations: 12 kB / 418.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1168, allocations: 15.94 kB / 418.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1168, allocations: 4 kB / 418.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1168, allocations: 0 / 418.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.1176, allocations: 0.6396 MB / 419.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.1177, allocations: 112.8 kB / 419.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1177, allocations: 8 kB / 419.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1179, allocations: 12 kB / 419.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.118, allocations: 23.97 kB / 419.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.118, allocations: 16 kB / 419.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1181, allocations: 136.3 kB / 419.7 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1181, allocations: 0 / 419.7 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.1185, allocations: 76 kB / 419.8 MB, free: 9.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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.001177/0.1197, allocations: 1.192 MB / 421 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005152/0.1202, allocations: 298.8 kB / 421.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1202, allocations: 4 kB / 421.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.1205, allocations: 153 kB / 421.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.1211, allocations: 63.14 kB / 421.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.1252, allocations: 3.286 MB / 424.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1256, allocations: 0.7804 MB / 425.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.1258, allocations: 42.94 kB / 425.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.126, allocations: 99.41 kB / 425.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.126, allocations: 0 / 425.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1933/0.3193, allocations: 6.082 MB / 431.8 MB, free: 22.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.706, allocations: 12.47 kB / 431.8 MB, free: 22.31 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.059108458925039] Failed to read output from testmodel.py, exit status != 0: ['time', 'm1.s', 'm1.v', 'm3.s', 'm3.v', 'sd1.s_rel', 'sd1.v_rel', 'sd2.s_rel', 'sd2.v_rel'] 8.79115767008625 8.80795819 8.700310466 Calling exit ...