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.001412/0.001412, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001581/0.001581, allocations: 217 kB / 22.92 MB, free: 5.195 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.28/1.28, allocations: 230.2 MB / 256.1 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] 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.1973/0.1973, allocations: 46.88 MB / 359.3 MB, free: 4.969 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.002099/0.002099, allocations: 79.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2562, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00846/0.2647, allocations: 7.546 MB / 0.5658 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.2686, allocations: 2.377 MB / 0.5681 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.269, allocations: 27.94 kB / 0.5681 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.2725, allocations: 1.746 MB / 0.5698 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.274, allocations: 0.7064 MB / 0.5705 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2753, allocations: 0.739 MB / 0.5712 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.2765, allocations: 1.253 MB / 0.5725 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.2775, allocations: 0.7193 MB / 0.5732 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.2781, allocations: 0.5097 MB / 0.5737 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.2788, allocations: 0.6692 MB / 0.5743 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.279, allocations: 107.9 kB / 0.5744 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.2795, allocations: 303.8 kB / 0.5747 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.2797, allocations: 278.9 kB / 0.575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.2802, allocations: 0.5986 MB / 0.5756 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.2819, allocations: 1.611 MB / 0.5771 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2819, allocations: 4 kB / 0.5771 GB, free: 1.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2819, allocations: 0 / 0.5771 GB, free: 1.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2819, allocations: 4 kB / 0.5771 GB, free: 1.91 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.004103/0.286, allocations: 1.829 MB / 0.5789 GB, free: 28 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.286, allocations: 8.031 kB / 0.5789 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.2863, allocations: 194.7 kB / 0.5791 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008911/0.2952, allocations: 1.268 MB / 0.5804 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.2961, allocations: 0.5726 MB / 0.5809 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.2962, allocations: 99.03 kB / 0.581 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.2964, allocations: 139.8 kB / 0.5811 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.2985, allocations: 1.249 MB / 0.5824 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.2985, allocations: 3.938 kB / 0.5824 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2986, allocations: 56 kB / 0.5824 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.2987, allocations: 32 kB / 0.5825 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.301, allocations: 1.455 MB / 0.5839 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00785/0.3089, allocations: 5.817 MB / 0.5896 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3107, allocations: 1.044 MB / 0.5906 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.3112, allocations: 332.2 kB / 0.5909 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.3114, allocations: 191.2 kB / 0.5911 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3114, allocations: 47.56 kB / 0.5911 GB, free: 2.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.154e-06/0.3114, allocations: 0 / 0.5911 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002214/0.3137, allocations: 1.211 MB / 0.5923 GB, free: 1.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3137, allocations: 60.41 kB / 0.5924 GB, free: 1.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.3147, allocations: 0.8247 MB / 0.5932 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.3147, allocations: 41.7 kB / 0.5932 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.3151, allocations: 0.5195 MB / 0.5937 GB, free: 128 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.3153, allocations: 317.5 kB / 0.594 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.3156, allocations: 206.8 kB / 0.5942 GB, free: 15.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3158, allocations: 402.7 kB / 0.5946 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.3164, allocations: 354.4 kB / 0.5949 GB, free: 14.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.3173, allocations: 0.6147 MB / 0.5955 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3187, allocations: 0.9954 MB / 0.5965 GB, free: 13.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3187, allocations: 3.938 kB / 0.5965 GB, free: 13.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001999/0.3207, allocations: 1.19 MB / 0.5977 GB, free: 11.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3207, allocations: 11.75 kB / 0.5977 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3208, allocations: 8 kB / 0.5977 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.321, allocations: 77.55 kB / 0.5978 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.322, allocations: 263.7 kB / 0.598 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.3241, allocations: 2.833 MB / 0.6008 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.3249, allocations: 154.8 kB / 0.6009 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.325, allocations: 47.98 kB / 0.601 GB, free: 8.133 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.0003727/0.3254, allocations: 269 kB / 0.6012 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3255, allocations: 107.4 kB / 0.6013 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.3274, allocations: 1.099 MB / 0.6024 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3274, allocations: 8 kB / 0.6024 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3274, allocations: 4 kB / 0.6024 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3274, allocations: 3.984 kB / 0.6024 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.3313, allocations: 3.167 MB / 0.6055 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3313, allocations: 4 kB / 0.6055 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/0.332, allocations: 179.8 kB / 0.6057 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.3322, allocations: 65.61 kB / 0.6058 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.3323, allocations: 27.98 kB / 0.6058 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3344, allocations: 2.825 MB / 0.6085 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.3344, allocations: 11.94 kB / 0.6086 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.3366, allocations: 1.489 MB / 0.61 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3368, allocations: 192.3 kB / 0.6102 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3369, allocations: 27.95 kB / 0.6102 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.3375, allocations: 55.97 kB / 0.6103 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3376, allocations: 84.34 kB / 0.6103 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.3377, allocations: 36 kB / 0.6104 GB, free: 13.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007162/0.3384, allocations: 0.5771 MB / 0.6109 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3384, allocations: 0 / 0.6109 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008887/0.3393, allocations: 311.5 kB / 0.6112 GB, free: 12.86 MB / 462.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.002674/0.342, allocations: 2.095 MB / 0.6133 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.3438, allocations: 1.051 MB / 0.6143 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3438, allocations: 4 kB / 0.6143 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008917/0.3447, allocations: 0.5909 MB / 0.6149 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.3454, allocations: 130.6 kB / 0.615 GB, free: 8.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.3571, allocations: 8.472 MB / 0.6233 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.3578, allocations: 1.012 MB / 0.6243 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.3583, allocations: 155.8 kB / 0.6244 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.3588, allocations: 387.3 kB / 0.6248 GB, free: 14.28 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3588, allocations: 0 / 0.6248 GB, free: 14.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.4112, allocations: 19.97 MB / 0.6443 GB, free: 10.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.66, allocations: 9.5 kB / 0.6443 GB, free: 10.45 MB / 494.1 MB " [Timeout remaining time 649] (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 --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: 13.145250544999726]