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.0007885/0.0007885, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000907/0.000907, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9227/0.9227, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2421/0.2421, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.476e-05, allocations: 6.219 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.1794/0.1795, allocations: 6.59 MB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.183, allocations: 2.229 MB / 451 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.1838, allocations: 28.59 kB / 451 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.1857, allocations: 1.707 MB / 452.7 MB, free: 38.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.1874, allocations: 0.7128 MB / 453.4 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1884, allocations: 0.7159 MB / 454.1 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1895, allocations: 1.288 MB / 455.4 MB, free: 36.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.1906, allocations: 0.8545 MB / 456.3 MB, free: 36.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.1913, allocations: 0.7467 MB / 457 MB, free: 36.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.1917, allocations: 0.5166 MB / 457.5 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1918, allocations: 109 kB / 457.7 MB, free: 35.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.1924, allocations: 289.3 kB / 457.9 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1925, allocations: 274.8 kB / 458.2 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.1929, allocations: 419.3 kB / 458.6 MB, free: 35.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.1946, allocations: 1.637 MB / 460.3 MB, free: 34.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1946, allocations: 0 / 460.3 MB, free: 34.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1946, allocations: 0 / 460.3 MB, free: 34.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.443e-05/0.1947, allocations: 0 / 460.3 MB, free: 34.71 MB / 410.7 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.002859/0.1975, allocations: 1.749 MB / 462 MB, free: 33.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1976, allocations: 9.438 kB / 462 MB, free: 33.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.1977, allocations: 196.9 kB / 462.2 MB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.202, allocations: 1.273 MB / 463.5 MB, free: 33.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.203, allocations: 0.4976 MB / 464 MB, free: 33.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.203, allocations: 100.6 kB / 464.1 MB, free: 32.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.2032, allocations: 134.5 kB / 464.2 MB, free: 32.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.2046, allocations: 1.439 MB / 465.6 MB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.2047, allocations: 3.328 kB / 465.6 MB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.2048, allocations: 56.81 kB / 465.7 MB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.2048, allocations: 32.72 kB / 465.7 MB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2063, allocations: 1.436 MB / 467.2 MB, free: 31.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/0.2111, allocations: 3.854 MB / 471 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2121, allocations: 0.815 MB / 471.8 MB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2124, allocations: 329.2 kB / 472.2 MB, free: 29.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.2125, allocations: 34.16 kB / 472.2 MB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2125, allocations: 49.72 kB / 472.2 MB, free: 29.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 2.855e-06/0.2125, allocations: 0 / 472.2 MB, free: 29.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=90): time 0.001398/0.2139, allocations: 1.061 MB / 473.3 MB, free: 28.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.214, allocations: 61.69 kB / 473.4 MB, free: 28.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.2146, allocations: 0.8389 MB / 474.2 MB, free: 28.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.2146, allocations: 43.64 kB / 474.2 MB, free: 28.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.2148, allocations: 0.509 MB / 474.8 MB, free: 27.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.215, allocations: 323.6 kB / 475.1 MB, free: 27.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2151, allocations: 201.1 kB / 475.3 MB, free: 27.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.2152, allocations: 403.3 kB / 475.7 MB, free: 27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.2156, allocations: 354.3 kB / 476 MB, free: 26.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.2161, allocations: 0.6192 MB / 476.6 MB, free: 26.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/0.2169, allocations: 0.994 MB / 477.6 MB, free: 25.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2169, allocations: 0 / 477.6 MB, free: 25.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001336/0.2182, allocations: 1.197 MB / 478.8 MB, free: 25.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2183, allocations: 10.03 kB / 478.8 MB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2183, allocations: 5.75 kB / 478.8 MB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.2185, allocations: 75.08 kB / 478.9 MB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.219, allocations: 268.2 kB / 479.2 MB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.22, allocations: 2.604 MB / 481.8 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.2206, allocations: 159.7 kB / 481.9 MB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.2207, allocations: 49.89 kB / 482 MB, free: 22.41 MB / 410.7 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.000307/0.221, allocations: 262.6 kB / 482.2 MB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.2211, allocations: 97.97 kB / 482.3 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2223, allocations: 1.107 MB / 483.4 MB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.2223, allocations: 9.062 kB / 483.4 MB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2223, allocations: 3.188 kB / 483.4 MB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2223, allocations: 5.766 kB / 483.4 MB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.2247, allocations: 2.219 MB / 485.7 MB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.2248, allocations: 9.281 kB / 485.7 MB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.2252, allocations: 182.2 kB / 485.9 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001558/0.2254, allocations: 61.91 kB / 485.9 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.2254, allocations: 27.47 kB / 485.9 MB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.2264, allocations: 2.606 MB / 488.5 MB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.2264, allocations: 6.625 kB / 488.6 MB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.228, allocations: 1.475 MB / 490 MB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.2282, allocations: 131.7 kB / 490.2 MB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.2283, allocations: 22.5 kB / 490.2 MB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.2286, allocations: 51.52 kB / 490.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2287, allocations: 90.75 kB / 490.3 MB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.2288, allocations: 33.84 kB / 490.4 MB, free: 16.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005642/0.2293, allocations: 0.581 MB / 490.9 MB, free: 16.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2293, allocations: 0 / 490.9 MB, free: 16.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008785/0.2302, allocations: 309.8 kB / 491.2 MB, free: 16.36 MB / 410.7 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.001759/0.232, allocations: 2.079 MB / 493.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.2333, allocations: 1.054 MB / 494.4 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.2333, allocations: 5.281 kB / 494.4 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.2339, allocations: 0.5973 MB / 495 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.2346, allocations: 125.7 kB / 495.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009379/0.2439, allocations: 8.475 MB / 0.4918 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.2443, allocations: 429.6 kB / 0.4922 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.2448, allocations: 151.5 kB / 0.4923 GB, free: 8.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.2451, allocations: 394.1 kB / 0.4927 GB, free: 8.602 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2451, allocations: 0 / 0.4927 GB, free: 8.602 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03909/0.2842, allocations: 21.26 MB / 0.5135 GB, free: 11.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.887, allocations: 3.984 kB / 0.5135 GB, free: 11.55 MB / 426.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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: 10.012799987569451]