Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.259/0.259, allocations: 46.93 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.91 kB / 0.4916 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1454, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01095/0.1564, allocations: 7.523 MB / 0.5634 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.1619, allocations: 2.369 MB / 0.5657 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1631, allocations: 23.94 kB / 0.5657 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.1677, allocations: 1.757 MB / 0.5675 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004024/0.1717, allocations: 0.695 MB / 0.5681 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.1744, allocations: 0.7554 MB / 0.5689 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.1769, allocations: 1.253 MB / 0.5701 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.1787, allocations: 0.7114 MB / 0.5708 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.18, allocations: 0.5254 MB / 0.5713 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1812, allocations: 0.6652 MB / 0.572 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.1815, allocations: 104 kB / 0.5721 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.1826, allocations: 295.8 kB / 0.5723 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.183, allocations: 279 kB / 0.5726 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.184, allocations: 0.6064 MB / 0.5732 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.1876, allocations: 1.615 MB / 0.5748 GB, free: 2.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1876, allocations: 0 / 0.5748 GB, free: 2.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1876, allocations: 0 / 0.5748 GB, free: 2.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.37e-05/0.1877, allocations: 0 / 0.5748 GB, free: 2.586 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.006534/0.1943, allocations: 1.833 MB / 0.5766 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1943, allocations: 8.031 kB / 0.5766 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.092e-05/0.1944, allocations: 34.84 kB / 0.5766 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004919/0.1949, allocations: 194.7 kB / 0.5768 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/0.2047, allocations: 1.276 MB / 0.578 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.206, allocations: 0.5648 MB / 0.5786 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2061, allocations: 106.8 kB / 0.5787 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/0.2065, allocations: 135.9 kB / 0.5788 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.2094, allocations: 1.249 MB / 0.58 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/0.2094, allocations: 3.984 kB / 0.58 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.2096, allocations: 56 kB / 0.5801 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.2096, allocations: 32 kB / 0.5801 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.2125, allocations: 1.459 MB / 0.5816 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00886/0.2214, allocations: 5.817 MB / 0.5872 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.2233, allocations: 1.042 MB / 0.5883 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.2239, allocations: 338.5 kB / 0.5886 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.2241, allocations: 191.2 kB / 0.5888 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2241, allocations: 43.56 kB / 0.5888 GB, free: 3.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.435e-06/0.2241, allocations: 0 / 0.5888 GB, free: 3.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002379/0.2265, allocations: 1.214 MB / 0.59 GB, free: 2.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2265, allocations: 60.41 kB / 0.59 GB, free: 2.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.2275, allocations: 0.8286 MB / 0.5909 GB, free: 1.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.2276, allocations: 45.64 kB / 0.5909 GB, free: 1.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.228, allocations: 0.5117 MB / 0.5914 GB, free: 0.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.2282, allocations: 329.2 kB / 0.5917 GB, free: 436 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.2286, allocations: 206.8 kB / 0.5919 GB, free: 220 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2604/0.489, allocations: 395.3 kB / 0.5923 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.4902, allocations: 349.6 kB / 0.5926 GB, free: 33.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.4914, allocations: 0.6168 MB / 0.5932 GB, free: 33.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.4936, allocations: 0.9943 MB / 0.5942 GB, free: 33.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.4936, allocations: 2.812 kB / 0.5942 GB, free: 33.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003446/0.4971, allocations: 1.199 MB / 0.5954 GB, free: 33.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.4971, allocations: 8.594 kB / 0.5954 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.4971, allocations: 9.297 kB / 0.5954 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.4976, allocations: 67.2 kB / 0.5954 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.4992, allocations: 261 kB / 0.5957 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.5015, allocations: 2.827 MB / 0.5985 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.5029, allocations: 158.9 kB / 0.5986 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.5031, allocations: 53.09 kB / 0.5987 GB, free: 30.45 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.0005727/0.5036, allocations: 261.2 kB / 0.5989 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.5039, allocations: 102.9 kB / 0.599 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.5069, allocations: 1.097 MB / 0.6001 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.5069, allocations: 14.28 kB / 0.6001 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5069, allocations: 0.75 kB / 0.6001 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.5069, allocations: 8.719 kB / 0.6001 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.5111, allocations: 3.167 MB / 0.6032 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5111, allocations: 6.062 kB / 0.6032 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008056/0.5119, allocations: 187.6 kB / 0.6034 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.5121, allocations: 59.81 kB / 0.6034 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.5122, allocations: 27.92 kB / 0.6035 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.5138, allocations: 2.818 MB / 0.6062 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.5138, allocations: 11.61 kB / 0.6062 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.5162, allocations: 1.485 MB / 0.6077 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.5165, allocations: 204.7 kB / 0.6079 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5167, allocations: 29.48 kB / 0.6079 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.5174, allocations: 51.19 kB / 0.6079 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.5176, allocations: 79.09 kB / 0.608 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.675e-05/0.5177, allocations: 31.97 kB / 0.6081 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008836/0.5185, allocations: 0.5872 MB / 0.6086 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5185, allocations: 0 / 0.6086 GB, free: 23.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001191/0.5197, allocations: 313.6 kB / 0.6089 GB, free: 23.36 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.002925/0.5227, allocations: 2.084 MB / 0.611 GB, free: 21.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.5249, allocations: 1.061 MB / 0.612 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.5249, allocations: 0 / 0.612 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5259, allocations: 0.5912 MB / 0.6126 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.5269, allocations: 118.1 kB / 0.6127 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.5408, allocations: 8.473 MB / 0.621 GB, free: 16.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.5416, allocations: 1.014 MB / 0.6219 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006822/0.5422, allocations: 154.9 kB / 0.6221 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.5428, allocations: 390.4 kB / 0.6225 GB, free: 14.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5428, allocations: 0 / 0.6225 GB, free: 14.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/0.6016, allocations: 20.01 MB / 0.642 GB, free: 1.793 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.54, allocations: 10.75 kB / 0.642 GB, free: 1.789 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 16.367257537029218]