Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001338/0.001338, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001584/0.001584, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2166/0.2166, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.002308/0.002308, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3087, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01003/0.3187, allocations: 7.549 MB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00537/0.3241, allocations: 2.377 MB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.325, allocations: 27.94 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005167/0.3301, allocations: 1.742 MB / 0.5729 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.3331, allocations: 0.7174 MB / 0.5736 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.3353, allocations: 0.7546 MB / 0.5744 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.3376, allocations: 1.253 MB / 0.5756 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.3394, allocations: 0.8672 MB / 0.5764 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.3404, allocations: 0.5215 MB / 0.577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.3415, allocations: 0.6653 MB / 0.5776 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.3417, allocations: 108 kB / 0.5777 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009139/0.3427, allocations: 299.8 kB / 0.578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.343, allocations: 274.9 kB / 0.5783 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.3438, allocations: 0.6064 MB / 0.5788 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.3465, allocations: 1.611 MB / 0.5804 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3465, allocations: 4 kB / 0.5804 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3465, allocations: 0 / 0.5804 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.3465, allocations: 0 / 0.5804 GB, free: 0.8398 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007114/0.3536, allocations: 1.754 MB / 0.5821 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.3537, allocations: 12.03 kB / 0.5821 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.354, allocations: 194.7 kB / 0.5823 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.3717, allocations: 1.272 MB / 0.5836 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.3733, allocations: 0.5118 MB / 0.5841 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3734, allocations: 95.03 kB / 0.5842 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.3738, allocations: 139.9 kB / 0.5843 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.3774, allocations: 1.246 MB / 0.5855 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-05/0.3775, allocations: 3.938 kB / 0.5855 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.3777, allocations: 56 kB / 0.5856 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.3777, allocations: 36 kB / 0.5856 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004034/0.3817, allocations: 1.459 MB / 0.587 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008606/0.3904, allocations: 4.197 MB / 0.5911 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.3921, allocations: 0.8188 MB / 0.5919 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.3927, allocations: 336.2 kB / 0.5922 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3929, allocations: 44.94 kB / 0.5923 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3929, allocations: 43.55 kB / 0.5923 GB, free: 4.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.3929, allocations: 4 kB / 0.5923 GB, free: 4.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002444/0.3954, allocations: 1.052 MB / 0.5934 GB, free: 3.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3954, allocations: 64.41 kB / 0.5934 GB, free: 3.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.3966, allocations: 0.8364 MB / 0.5942 GB, free: 2.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.3967, allocations: 45.64 kB / 0.5943 GB, free: 2.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.3971, allocations: 0.5078 MB / 0.5948 GB, free: 1.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.3974, allocations: 325.2 kB / 0.5951 GB, free: 1.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.3977, allocations: 206.8 kB / 0.5953 GB, free: 1.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.398, allocations: 402.7 kB / 0.5957 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/0.3987, allocations: 342.5 kB / 0.596 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000918/0.3996, allocations: 0.6308 MB / 0.5966 GB, free: 15.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.4012, allocations: 0.9875 MB / 0.5976 GB, free: 14.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4012, allocations: 7.984 kB / 0.5976 GB, free: 14.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002302/0.4035, allocations: 1.19 MB / 0.5988 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4036, allocations: 14.59 kB / 0.5988 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4036, allocations: 8 kB / 0.5988 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.4039, allocations: 70.08 kB / 0.5988 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4049, allocations: 263.6 kB / 0.5991 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.4073, allocations: 2.621 MB / 0.6017 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008828/0.4082, allocations: 158.7 kB / 0.6018 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.4083, allocations: 44 kB / 0.6018 GB, free: 10.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004236/0.4087, allocations: 269.5 kB / 0.6021 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.4089, allocations: 99.33 kB / 0.6022 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.4109, allocations: 1.099 MB / 0.6033 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4109, allocations: 12 kB / 0.6033 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4109, allocations: 0 / 0.6033 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4109, allocations: 3.984 kB / 0.6033 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.4148, allocations: 2.407 MB / 0.6056 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.4148, allocations: 4 kB / 0.6056 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.4155, allocations: 183.7 kB / 0.6058 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.4157, allocations: 62.2 kB / 0.6059 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.4158, allocations: 31.98 kB / 0.6059 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.418, allocations: 2.607 MB / 0.6084 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.418, allocations: 11.94 kB / 0.6085 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.4204, allocations: 1.489 MB / 0.6099 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.4206, allocations: 127.1 kB / 0.61 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4207, allocations: 28.02 kB / 0.6101 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.4213, allocations: 55.91 kB / 0.6101 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.4215, allocations: 80.41 kB / 0.6102 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.4215, allocations: 35.98 kB / 0.6102 GB, free: 1.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007714/0.4223, allocations: 0.5811 MB / 0.6108 GB, free: 472 kB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4223, allocations: 0 / 0.6108 GB, free: 472 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009288/0.4232, allocations: 307.6 kB / 0.6111 GB, free: 164 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * 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,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.002856/0.4261, allocations: 2.095 MB / 0.6131 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.4281, allocations: 1.055 MB / 0.6142 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4281, allocations: 128 / 0.6142 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.4291, allocations: 0.5921 MB / 0.6147 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.4299, allocations: 123.2 kB / 0.6149 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.4426, allocations: 8.475 MB / 0.6231 GB, free: 3.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007432/0.4434, allocations: 1.016 MB / 0.6241 GB, free: 2.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.444, allocations: 147.8 kB / 0.6243 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.4445, allocations: 387.3 kB / 0.6246 GB, free: 1.582 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4445, allocations: 4 kB / 0.6246 GB, free: 1.578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08211/0.5266, allocations: 20.64 MB / 0.6448 GB, free: 13.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.16, allocations: 6.188 kB / 0.6448 GB, free: 13.08 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.910896335262805] Failed to read output from testmodel.py, exit status != 0: ['time', 'v.re', 'v.im'] 12.258950740564615 12.276113769 11.92620169 Calling exit ...