Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.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.001281/0.001281, 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.001425/0.001425, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.222/0.222, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002227/0.002227, allocations: 79.86 kB / 0.4916 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1242, allocations: 66.04 MB / 0.5561 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004014/0.1282, allocations: 2.583 MB / 0.5587 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1294, allocations: 0.6815 MB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1296, allocations: 8 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1297, allocations: 39.58 kB / 0.5594 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1298, allocations: 79.33 kB / 0.5594 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1301, allocations: 79.83 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.1305, allocations: 290.8 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1306, allocations: 68.38 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1308, allocations: 123.6 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.131, allocations: 119.5 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.131, allocations: 20 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.1311, allocations: 31.98 kB / 0.5601 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1312, allocations: 51.78 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1313, allocations: 131.4 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1316, allocations: 286.8 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1316, allocations: 0 / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1316, allocations: 0 / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1316, allocations: 0 / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007884/0.1324, allocations: 0.5416 MB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1324, allocations: 16.03 kB / 0.5611 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.1325, allocations: 50.73 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1327, allocations: 36.78 kB / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.133, allocations: 267.9 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.133, allocations: 16.75 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.1331, allocations: 20.38 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1334, allocations: 195.4 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1334, allocations: 4 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1334, allocations: 8 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1335, allocations: 7.984 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1337, allocations: 145.7 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.135, allocations: 0.8026 MB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1352, allocations: 90.48 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.1353, allocations: 48.83 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1353, allocations: 4 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1353, allocations: 34.75 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1353, allocations: 7.875 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001715/0.137, allocations: 0.7112 MB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1371, allocations: 59.34 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.1373, allocations: 214.9 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1374, allocations: 29.7 kB / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1375, allocations: 176.1 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1375, allocations: 51.59 kB / 0.564 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.1376, allocations: 45.66 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1377, allocations: 330.8 kB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1379, allocations: 59.97 kB / 0.5644 GB, free: 12.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.138, allocations: 105.1 kB / 0.5645 GB, free: 12.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.1384, allocations: 171.5 kB / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1384, allocations: 0 / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005265/0.1389, allocations: 278.9 kB / 0.565 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1389, allocations: 9.875 kB / 0.565 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1389, allocations: 4.156 kB / 0.565 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.1391, allocations: 69.61 kB / 0.565 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1393, allocations: 31.98 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.1418, allocations: 3.025 MB / 0.568 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1419, allocations: 8 kB / 0.568 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1419, allocations: 4 kB / 0.568 GB, free: 8.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.1421, allocations: 153.7 kB / 0.5682 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1421, allocations: 19.91 kB / 0.5682 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1422, allocations: 25.81 kB / 0.5682 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1422, allocations: 0 / 0.5682 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1422, allocations: 4 kB / 0.5682 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1422, allocations: 3.984 kB / 0.5682 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1425, allocations: 281.6 kB / 0.5685 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1425, allocations: 4 kB / 0.5685 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.1426, allocations: 16.64 kB / 0.5685 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.1428, allocations: 77.66 kB / 0.5686 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1428, allocations: 4 kB / 0.5686 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.1452, allocations: 3.009 MB / 0.5715 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1452, allocations: 0 / 0.5715 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.1458, allocations: 402.5 kB / 0.5719 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.1459, allocations: 96.95 kB / 0.572 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1459, allocations: 7.938 kB / 0.572 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1461, allocations: 15.98 kB / 0.572 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1461, allocations: 12.12 kB / 0.572 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1461, allocations: 8.047 kB / 0.5721 GB, free: 4.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1463, allocations: 156.6 kB / 0.5722 GB, free: 4.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1463, allocations: 0 / 0.5722 GB, free: 4.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1466, allocations: 64 kB / 0.5723 GB, free: 4.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009082/0.1476, allocations: 0.9229 MB / 0.5732 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.1482, allocations: 401.4 kB / 0.5735 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1482, allocations: 4 kB / 0.5736 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.1487, allocations: 317.3 kB / 0.5739 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.149, allocations: 26.39 kB / 0.5739 GB, free: 2.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.1523, allocations: 2.484 MB / 0.5763 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1527, allocations: 0.748 MB / 0.577 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.927e-05/0.1528, allocations: 21.89 kB / 0.5771 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1529, allocations: 67.41 kB / 0.5771 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1529, allocations: 0 / 0.5771 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.971/1.124, allocations: 5.061 MB / 0.5821 GB, free: 9.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.65, allocations: 9.875 kB / 0.5821 GB, free: 9.863 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.951425205916166] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i2', 'basicTransformer.i1'] 11.733931931201369 11.990801871 11.85594394 Calling exit ...