Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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.001967/0.001967, allocations: 115.1 kB / 17.08 MB, free: 5.988 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.002201/0.002201, allocations: 192.7 kB / 20.02 MB, free: 3.062 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.519/1.519, allocations: 205.1 MB / 227.9 MB, free: 4.332 MB / 174.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.3372/0.3372, allocations: 43.5 MB / 320.8 MB, free: 8.992 MB / 254.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.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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 79.88 kB / 450 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2896, allocations: 57.77 MB / 0.4959 GB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01634/0.306, allocations: 19.9 MB / 0.5153 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.3191, allocations: 4.943 MB / 0.5202 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00449/0.3236, allocations: 135.2 kB / 0.5203 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01823/0.3419, allocations: 7.792 MB / 0.5279 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.352, allocations: 2.281 MB / 0.5301 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004415/0.3565, allocations: 1.266 MB / 0.5314 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01738/0.3739, allocations: 12.35 MB / 0.5434 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04117/0.4151, allocations: 26.11 MB / 0.5689 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.4263, allocations: 6.592 MB / 0.5754 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.4393, allocations: 7.327 MB / 0.5825 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005705/0.4451, allocations: 1.734 MB / 0.5842 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006888/0.452, allocations: 1.929 MB / 0.5861 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006353/0.4584, allocations: 3.717 MB / 0.5897 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01284/0.4713, allocations: 7.108 MB / 0.5967 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03345/0.5047, allocations: 23.74 MB / 0.6199 GB, free: 10.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.5048, allocations: 4 kB / 0.6199 GB, free: 10.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5048, allocations: 4 kB / 0.6199 GB, free: 10.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007143/0.5055, allocations: 0 / 0.6199 GB, free: 10.74 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04518/0.5507, allocations: 15.06 MB / 0.6346 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.5508, allocations: 11.89 kB / 0.6346 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007107/0.5579, allocations: 1.751 MB / 0.6363 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5307/1.089, allocations: 12.48 MB / 0.6485 GB, free: 111.2 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/1.104, allocations: 6.626 MB / 0.655 GB, free: 109.1 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00079/1.105, allocations: 0.9034 MB / 0.6558 GB, free: 108.7 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004524/1.11, allocations: 1.197 MB / 0.657 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04193/1.152, allocations: 19.05 MB / 0.6756 GB, free: 99.65 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004273/1.152, allocations: 18.66 kB / 0.6756 GB, free: 99.64 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003372/1.155, allocations: 0.4923 MB / 0.6761 GB, free: 99.27 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005143/1.156, allocations: 0.6888 MB / 0.6768 GB, free: 99.14 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03575/1.192, allocations: 19.83 MB / 0.6961 GB, free: 80.84 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1385/1.33, allocations: 61.72 MB / 0.7564 GB, free: 18.96 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03359/1.364, allocations: 20.19 MB / 0.7761 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01366/1.378, allocations: 4.635 MB / 0.7807 GB, free: 8.934 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.379, allocations: 230.2 kB / 0.7809 GB, free: 8.688 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/1.379, allocations: 115.8 kB / 0.781 GB, free: 8.562 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=674): time 1.481e-05/1.379, allocations: 3.938 kB / 0.781 GB, free: 8.559 MB / 0.5138 GB Notification: Performance of matching and sorting (n=674): time 0.03345/1.412, allocations: 12.58 MB / 0.7933 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.413, allocations: 124.6 kB / 0.7934 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01844/1.431, allocations: 8.718 MB / 0.8019 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/1.432, allocations: 137.7 kB / 0.802 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006129/1.439, allocations: 4.73 MB / 0.8067 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003963/1.443, allocations: 2.382 MB / 0.809 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006006/1.449, allocations: 1.515 MB / 0.8105 GB, free: 10.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.449, allocations: 301.1 kB / 0.8108 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008619/1.457, allocations: 4.196 MB / 0.8148 GB, free: 5.652 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/1.47, allocations: 7.226 MB / 0.8219 GB, free: 13.02 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0201/1.49, allocations: 12.4 MB / 0.834 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.491, allocations: 28 kB / 0.834 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02655/1.517, allocations: 12.44 MB / 0.8462 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.517, allocations: 48 kB / 0.8462 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.517, allocations: 99.94 kB / 0.8463 GB, free: 2.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/1.519, allocations: 425.2 kB / 0.8467 GB, free: 1.996 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008958/1.528, allocations: 2.094 MB / 0.8488 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009992/1.538, allocations: 9.6 MB / 0.8582 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008512/1.546, allocations: 1.435 MB / 0.8596 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/1.548, allocations: 404 kB / 0.8599 GB, free: 3.621 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009635/1.558, allocations: 4.656 MB / 0.8645 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/1.559, allocations: 0.7567 MB / 0.8652 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/1.58, allocations: 11.05 MB / 0.876 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/1.58, allocations: 68 kB / 0.8761 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.58, allocations: 4 kB / 0.8761 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-05/1.581, allocations: 35.86 kB / 0.8761 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4044/1.985, allocations: 159.1 MB / 1.031 GB, free: 76.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002783/1.985, allocations: 87.94 kB / 1.032 GB, free: 76.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005807/1.991, allocations: 1.579 MB / 1.033 GB, free: 74.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/1.992, allocations: 381.2 kB / 1.033 GB, free: 74.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/1.993, allocations: 256 kB / 1.034 GB, free: 74.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/1.998, allocations: 9.461 MB / 1.043 GB, free: 64.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.074e-05/1.998, allocations: 139.4 kB / 1.043 GB, free: 63.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02305/2.021, allocations: 18.89 MB / 1.062 GB, free: 43.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005725/2.027, allocations: 2.076 MB / 1.064 GB, free: 41.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002459/2.029, allocations: 257.9 kB / 1.064 GB, free: 41.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006002/2.035, allocations: 0.5541 MB / 1.064 GB, free: 40.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/2.037, allocations: 0.7536 MB / 1.065 GB, free: 39.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009115/2.038, allocations: 312 kB / 1.065 GB, free: 39.49 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009139/2.047, allocations: 6.121 MB / 1.071 GB, free: 33.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/2.047, allocations: 0 / 1.071 GB, free: 33.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009739/2.057, allocations: 2.697 MB / 1.074 GB, free: 30.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_p.reference.gamma) * 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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02346/2.08, allocations: 19.79 MB / 1.093 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01584/2.096, allocations: 10.84 MB / 1.104 GB, free: 14.08 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 9.665e-05/2.096, allocations: 12 kB / 1.104 GB, free: 14.07 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/2.107, allocations: 5.521 MB / 1.109 GB, free: 8.484 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01265/2.119, allocations: 1.505 MB / 1.111 GB, free: 6.988 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4245/2.544, allocations: 101.6 MB / 1.21 GB, free: 141.8 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/2.555, allocations: 7.881 MB / 1.218 GB, free: 133.9 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008843/2.564, allocations: 3.651 MB / 1.221 GB, free: 130.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007523/2.572, allocations: 4.229 MB / 1.225 GB, free: 126 MB / 0.6232 GB Notification: Performance of SimCode: time 1.133e-06/2.572, allocations: 0 / 1.225 GB, free: 126 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5441/3.116, allocations: 192.1 MB / 1.413 GB, free: 161.5 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.34/32.45, allocations: 1.219 kB / 1.413 GB, free: 161.5 MB / 0.6232 GB " [Timeout remaining time 627] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 36.26387051399797] Failed to read output from testmodel.py, exit status != 0: ['time', 'v[1].re', 'v[1].im', 'v[2].re', 'v[2].im', 'v[3].re', 'v[3].im'] 32.63748494605534 32.647521618 32.140701241 Calling exit ...