Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.5 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.84 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1156, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003961/0.1196, allocations: 2.12 MB / 429.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004658/0.1201, allocations: 167.4 kB / 429.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1202, allocations: 4 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1203, allocations: 31.66 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1205, allocations: 51.56 kB / 429.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1207, allocations: 35.95 kB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.121, allocations: 183.2 kB / 429.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1211, allocations: 44.69 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.1212, allocations: 71.78 kB / 429.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1214, allocations: 71.64 kB / 429.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1214, allocations: 16 kB / 429.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.794e-05/0.1214, allocations: 12 kB / 429.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.1215, allocations: 35.91 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1216, allocations: 83.53 kB / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1219, allocations: 183.1 kB / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1219, allocations: 0 / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1219, allocations: 0 / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1219, allocations: 4 kB / 430.1 MB, free: 1.684 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007071/0.1226, allocations: 470.7 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1226, allocations: 8.031 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.1227, allocations: 50.73 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.1227, allocations: 24.78 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.123, allocations: 212.1 kB / 430.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1231, allocations: 24.14 kB / 430.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1231, allocations: 20.33 kB / 430.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1234, allocations: 185.9 kB / 431.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1234, allocations: 4 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1235, allocations: 8 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1235, allocations: 7.984 kB / 431.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.1237, allocations: 99.88 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.125, allocations: 0.9587 MB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1252, allocations: 103.9 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.1253, allocations: 38.56 kB / 432.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1253, allocations: 0 / 432.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1253, allocations: 42.48 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1253, allocations: 4 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003265/0.1256, allocations: 129.5 kB / 432.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.1257, allocations: 106.8 kB / 432.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1259, allocations: 199.8 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.126, allocations: 29.64 kB / 432.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1261, allocations: 148 kB / 432.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1261, allocations: 51.58 kB / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.1262, allocations: 45.89 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1264, allocations: 334.8 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.1264, allocations: 36.45 kB / 433.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1266, allocations: 146.6 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.1268, allocations: 198.1 kB / 433.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1269, allocations: 4 kB / 433.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003269/0.1272, allocations: 213.2 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1272, allocations: 4 kB / 433.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1272, allocations: 4 kB / 433.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1272, allocations: 4.406 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.1274, allocations: 59.91 kB / 434 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1274, allocations: 4 kB / 434 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1275, allocations: 39.67 kB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1275, allocations: 8 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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.0001307/0.1277, allocations: 133.7 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.1278, allocations: 15.91 kB / 434.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.1278, allocations: 24.92 kB / 434.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1278, allocations: 0 / 434.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.1278, allocations: 0 / 434.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1278, allocations: 11.94 kB / 434.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.1283, allocations: 237.5 kB / 434.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.1283, allocations: 4 kB / 434.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1284, allocations: 35.98 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1284, allocations: 0 / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1284, allocations: 0 / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1285, allocations: 4 kB / 434.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1285, allocations: 0 / 434.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.1288, allocations: 395.8 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.1289, allocations: 101 kB / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.129, allocations: 0 / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1291, allocations: 0 / 435 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.1291, allocations: 15.92 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1291, allocations: 4 kB / 435 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1293, allocations: 149.5 kB / 435.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1293, allocations: 4 kB / 435.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1296, allocations: 39.95 kB / 435.2 MB, free: 12.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0007336/0.1304, allocations: 0.9119 MB / 436.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1306, allocations: 116.1 kB / 436.2 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1306, allocations: 0 / 436.2 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.1306, allocations: 32.2 kB / 436.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.1312, allocations: 36 kB / 436.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1343, allocations: 2.628 MB / 438.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1347, allocations: 0.7242 MB / 439.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.1348, allocations: 29.92 kB / 439.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.1349, allocations: 47.42 kB / 439.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1349, allocations: 0 / 439.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.1633, allocations: 3.494 MB / 443.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.156, allocations: 6.641 kB / 443.2 MB, free: 3.953 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.825612624175847] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'mass3.s', 'mass3.v'] 8.22904821485281 8.424681111 8.300652298 Calling exit ...