Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001766/0.001766, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.002159/0.002159, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.468/1.468, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 75.89 kB / 0.4916 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1261, allocations: 66.05 MB / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009205/0.1353, allocations: 7.527 MB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.1406, allocations: 2.357 MB / 0.5658 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.1413, allocations: 27.94 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00392/0.1452, allocations: 1.756 MB / 0.5675 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.1473, allocations: 0.6948 MB / 0.5682 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1489, allocations: 0.7774 MB / 0.569 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1505, allocations: 1.249 MB / 0.5702 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.1516, allocations: 0.7114 MB / 0.5709 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.1523, allocations: 0.5176 MB / 0.5714 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.1531, allocations: 0.673 MB / 0.5721 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.1532, allocations: 104 kB / 0.5722 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.1539, allocations: 299.8 kB / 0.5724 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1541, allocations: 275 kB / 0.5727 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006523/0.1548, allocations: 0.6024 MB / 0.5733 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.1567, allocations: 1.611 MB / 0.5749 GB, free: 2.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1567, allocations: 0 / 0.5749 GB, free: 2.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1567, allocations: 0 / 0.5749 GB, free: 2.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1567, allocations: 0 / 0.5749 GB, free: 2.289 MB / 430.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.004508/0.1612, allocations: 1.833 MB / 0.5767 GB, free: 412 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1613, allocations: 15.97 kB / 0.5767 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.146e-05/0.1613, allocations: 34.84 kB / 0.5767 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/0.1615, allocations: 194.7 kB / 0.5769 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00954/0.1711, allocations: 1.276 MB / 0.5781 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1724, allocations: 0.5609 MB / 0.5787 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/0.1724, allocations: 106.8 kB / 0.5788 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.1727, allocations: 139.9 kB / 0.5789 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.175, allocations: 1.238 MB / 0.5801 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.1751, allocations: 7.984 kB / 0.5801 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.1752, allocations: 56 kB / 0.5802 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.1752, allocations: 32 kB / 0.5802 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.1777, allocations: 1.451 MB / 0.5816 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008669/0.1864, allocations: 5.817 MB / 0.5873 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.1883, allocations: 1.044 MB / 0.5883 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.1889, allocations: 340.1 kB / 0.5887 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.1891, allocations: 183.2 kB / 0.5888 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.1891, allocations: 47.56 kB / 0.5889 GB, free: 3.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.995e-06/0.1891, allocations: 0 / 0.5889 GB, free: 3.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002396/0.1915, allocations: 1.214 MB / 0.5901 GB, free: 1.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1916, allocations: 64.41 kB / 0.5901 GB, free: 1.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1926, allocations: 0.8325 MB / 0.5909 GB, free: 1.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.1927, allocations: 45.64 kB / 0.591 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.1931, allocations: 0.5156 MB / 0.5915 GB, free: 460 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.1933, allocations: 325.2 kB / 0.5918 GB, free: 132 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2552/0.4485, allocations: 199.6 kB / 0.592 GB, free: 34.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4487, allocations: 399.9 kB / 0.5924 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.4493, allocations: 348 kB / 0.5927 GB, free: 33.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.4501, allocations: 0.6173 MB / 0.5933 GB, free: 33.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.4514, allocations: 0.9951 MB / 0.5943 GB, free: 33.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4514, allocations: 1.219 kB / 0.5943 GB, free: 33.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002182/0.4536, allocations: 1.195 MB / 0.5954 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.4536, allocations: 9.703 kB / 0.5955 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4536, allocations: 8.781 kB / 0.5955 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.4539, allocations: 70.73 kB / 0.5955 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4549, allocations: 262.3 kB / 0.5958 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.4566, allocations: 2.823 MB / 0.5985 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.4574, allocations: 155.5 kB / 0.5987 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.4575, allocations: 49.62 kB / 0.5987 GB, free: 30.27 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.0003403/0.4579, allocations: 268.4 kB / 0.599 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.458, allocations: 103.5 kB / 0.5991 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.4599, allocations: 1.097 MB / 0.6002 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4599, allocations: 9.438 kB / 0.6002 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4599, allocations: 5.266 kB / 0.6002 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.46, allocations: 9.234 kB / 0.6002 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.4635, allocations: 3.168 MB / 0.6033 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.4635, allocations: 5.625 kB / 0.6033 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.4643, allocations: 180.2 kB / 0.6035 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.4645, allocations: 68.06 kB / 0.6035 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.4646, allocations: 26.7 kB / 0.6035 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.4661, allocations: 2.822 MB / 0.6063 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.4661, allocations: 10.56 kB / 0.6063 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.4683, allocations: 1.486 MB / 0.6078 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.4685, allocations: 200.3 kB / 0.608 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4687, allocations: 32.19 kB / 0.608 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.4693, allocations: 52.66 kB / 0.608 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.4695, allocations: 77.58 kB / 0.6081 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.4695, allocations: 33.23 kB / 0.6081 GB, free: 23.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006891/0.4702, allocations: 0.5861 MB / 0.6087 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4702, allocations: 0 / 0.6087 GB, free: 23.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4713, allocations: 311.8 kB / 0.609 GB, free: 23.18 MB / 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.002849/0.4741, allocations: 2.096 MB / 0.6111 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.4762, allocations: 1.049 MB / 0.6121 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.4762, allocations: 1.219 kB / 0.6121 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.477, allocations: 0.5956 MB / 0.6127 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.4778, allocations: 117 kB / 0.6128 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.4905, allocations: 8.471 MB / 0.621 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.491, allocations: 1.016 MB / 0.622 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005688/0.4916, allocations: 152.5 kB / 0.6222 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.4921, allocations: 390.7 kB / 0.6226 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4921, allocations: 0 / 0.6226 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.5368, allocations: 20 MB / 0.6421 GB, free: 1.477 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.02, allocations: 11.69 kB / 0.6421 GB, free: 1.469 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.629279691027477]