Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.001377/0.001377, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 249.8 MB, free: 9.234 MB / 206.1 MB " [Timeout remaining time 178] 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.001733/0.001733, allocations: 216.4 kB / 306 MB, free: 4.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4676/0.4676, allocations: 79.71 MB / 441.8 MB, free: 140 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002415/0.002415, allocations: 87.88 kB / 0.5878 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.153, allocations: 73.26 MB / 0.6594 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.007672/0.1607, allocations: 5.978 MB / 0.6652 GB, free: 2.215 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.1653, allocations: 1.841 MB / 0.667 GB, free: 376 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008332/0.1661, allocations: 12 kB / 0.667 GB, free: 364 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.1667, allocations: 214.2 kB / 0.6672 GB, free: 148 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.1688, allocations: 0.7685 MB / 0.668 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1701, allocations: 0.5681 MB / 0.6685 GB, free: 14.81 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.1717, allocations: 1.358 MB / 0.6698 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.1721, allocations: 187.3 kB / 0.67 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000826/0.1729, allocations: 0.5719 MB / 0.6706 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008212/0.1738, allocations: 0.7 MB / 0.6713 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.1739, allocations: 100 kB / 0.6714 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.1744, allocations: 243.9 kB / 0.6716 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1746, allocations: 266.8 kB / 0.6718 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.1751, allocations: 0.5709 MB / 0.6724 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.1768, allocations: 1.455 MB / 0.6738 GB, free: 9.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1768, allocations: 0 / 0.6738 GB, free: 9.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1768, allocations: 4 kB / 0.6738 GB, free: 9.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.1768, allocations: 0 / 0.6738 GB, free: 9.34 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008764/0.1856, allocations: 2.492 MB / 0.6763 GB, free: 6.793 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1857, allocations: 16.03 kB / 0.6763 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.1858, allocations: 118.5 kB / 0.6764 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.191, allocations: 0.7602 MB / 0.6771 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.1925, allocations: 0.7564 MB / 0.6779 GB, free: 5.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.1928, allocations: 256.2 kB / 0.6781 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.193, allocations: 67.95 kB / 0.6782 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.1953, allocations: 0.9872 MB / 0.6791 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1953, allocations: 0 / 0.6791 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.1954, allocations: 31.94 kB / 0.6792 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1954, allocations: 16 kB / 0.6792 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.1978, allocations: 0.9994 MB / 0.6802 GB, free: 2.695 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006284/0.2041, allocations: 3.27 MB / 0.6834 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.2064, allocations: 1.27 MB / 0.6846 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.2079, allocations: 0.6562 MB / 0.6852 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.208, allocations: 9 kB / 0.6852 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.2081, allocations: 43.56 kB / 0.6853 GB, free: 13.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=85): time 2.775e-06/0.2081, allocations: 0 / 0.6853 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=85): time 0.02785/0.2359, allocations: 6.524 MB / 0.6917 GB, free: 6.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.236, allocations: 68.28 kB / 0.6917 GB, free: 6.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.2375, allocations: 0.8469 MB / 0.6926 GB, free: 5.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002817/0.2378, allocations: 41.7 kB / 0.6926 GB, free: 5.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.2382, allocations: 453 kB / 0.693 GB, free: 5.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.2386, allocations: 325.2 kB / 0.6933 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.2391, allocations: 194.9 kB / 0.6935 GB, free: 4.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2392, allocations: 349.9 kB / 0.6939 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.2409, allocations: 0.6935 MB / 0.6945 GB, free: 3.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.2426, allocations: 0.8189 MB / 0.6953 GB, free: 2.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.246, allocations: 1.49 MB / 0.6968 GB, free: 1.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.246, allocations: 0 / 0.6968 GB, free: 1.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.3011/0.5471, allocations: 4.234 MB / 0.7009 GB, free: 35.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.5471, allocations: 11.53 kB / 0.7009 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.5471, allocations: 1.375 kB / 0.7009 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007892/0.555, allocations: 1.852 MB / 0.7027 GB, free: 35.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.5561, allocations: 182.3 kB / 0.7029 GB, free: 35.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.5799, allocations: 9.472 MB / 0.7122 GB, free: 32.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5814, allocations: 163.5 kB / 0.7123 GB, free: 31.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5816, allocations: 41.78 kB / 0.7124 GB, free: 31.97 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000378/0.5819, allocations: 231.2 kB / 0.7126 GB, free: 31.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.5821, allocations: 110.5 kB / 0.7127 GB, free: 31.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.5954, allocations: 3.849 MB / 0.7164 GB, free: 30.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5954, allocations: 7.75 kB / 0.7165 GB, free: 30.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.5954, allocations: 0 / 0.7165 GB, free: 30.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.5954, allocations: 8.328 kB / 0.7165 GB, free: 30.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.6096, allocations: 5.387 MB / 0.7217 GB, free: 28.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6096, allocations: 1.125 kB / 0.7217 GB, free: 28.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.6103, allocations: 96.41 kB / 0.7218 GB, free: 28.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006008/0.6163, allocations: 1.749 MB / 0.7235 GB, free: 27.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.6164, allocations: 19.97 kB / 0.7235 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.6346, allocations: 8.072 MB / 0.7314 GB, free: 22.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6346, allocations: 0.7656 kB / 0.7314 GB, free: 22.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.6486, allocations: 4.743 MB / 0.7361 GB, free: 19.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.6489, allocations: 197.8 kB / 0.7362 GB, free: 19.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.649, allocations: 26.66 kB / 0.7363 GB, free: 19.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/0.65, allocations: 91.89 kB / 0.7364 GB, free: 19.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005627/0.6506, allocations: 200.7 kB / 0.7365 GB, free: 19.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.6507, allocations: 20 kB / 0.7366 GB, free: 19.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005687/0.6512, allocations: 0.578 MB / 0.7371 GB, free: 18.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6512, allocations: 0 / 0.7371 GB, free: 18.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001217/0.6524, allocations: 429.5 kB / 0.7375 GB, free: 18.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01397/0.6664, allocations: 5.316 MB / 0.7427 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006366/0.6728, allocations: 2.3 MB / 0.745 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6728, allocations: 0 / 0.745 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.677, allocations: 1.462 MB / 0.7464 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.6777, allocations: 75.39 kB / 0.7465 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/0.715, allocations: 14.9 MB / 0.761 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.7158, allocations: 1.041 MB / 0.762 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003883/0.7162, allocations: 82.44 kB / 0.7621 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.7168, allocations: 391.3 kB / 0.7625 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.7168, allocations: 4 kB / 0.7625 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/0.7902, allocations: 32.84 MB / 0.7946 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.67, allocations: 4.375 kB / 0.7946 GB, free: 7.688 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.149734423001064] Failed to read output from testmodel.py, exit status != 0: 16.78172748099314 16.804264902 16.623286992 Calling exit ...