Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.0007925/0.0007925, 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.0008046/0.0008046, 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.873/0.873, allocations: 177 MB / 204.1 MB, free: 5.75 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.2237/0.2237, allocations: 34.24 MB / 294.8 MB, free: 0.6719 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.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.331e-05, allocations: 4.812 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.1651/0.1651, allocations: 5.789 MB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.1681, allocations: 2.131 MB / 450.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.1686, allocations: 19.84 kB / 450.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.1702, allocations: 1.503 MB / 451.6 MB, free: 39.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1715, allocations: 0.7148 MB / 452.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.1724, allocations: 0.5809 MB / 452.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008925/0.1733, allocations: 1.224 MB / 454.1 MB, free: 37.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008261/0.1741, allocations: 0.8443 MB / 455 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005941/0.1747, allocations: 0.7238 MB / 455.7 MB, free: 36.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.175, allocations: 487.6 kB / 456.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.396e-05/0.1751, allocations: 107.8 kB / 456.3 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.1756, allocations: 279 kB / 456.5 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.1757, allocations: 264.7 kB / 456.8 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.1759, allocations: 388.8 kB / 457.2 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009653/0.1768, allocations: 1.542 MB / 458.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1768, allocations: 4 kB / 458.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1768, allocations: 0 / 458.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1769, allocations: 0 / 458.7 MB, free: 35.57 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002289/0.1791, allocations: 1.599 MB / 460.3 MB, free: 34.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1792, allocations: 9.875 kB / 460.3 MB, free: 34.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.1794, allocations: 182.4 kB / 460.5 MB, free: 34.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.1833, allocations: 1.124 MB / 461.6 MB, free: 34.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.184, allocations: 487.8 kB / 462.1 MB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.184, allocations: 89.77 kB / 462.2 MB, free: 33.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1842, allocations: 117.6 kB / 462.3 MB, free: 33.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1857, allocations: 1.461 MB / 463.8 MB, free: 33.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.1857, allocations: 8.125 kB / 463.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.1858, allocations: 52.88 kB / 463.8 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1858, allocations: 28.47 kB / 463.9 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.1874, allocations: 1.419 MB / 465.3 MB, free: 32.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.1914, allocations: 3.712 MB / 469 MB, free: 30.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.1929, allocations: 1.012 MB / 470 MB, free: 29.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.1934, allocations: 391 kB / 470.4 MB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.1934, allocations: 30.59 kB / 470.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1935, allocations: 49.03 kB / 470.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=84): time 3.997e-06/0.1935, allocations: 0 / 470.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.001819/0.1953, allocations: 1.169 MB / 471.6 MB, free: 29.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1953, allocations: 246.7 kB / 471.9 MB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.1957, allocations: 0.577 MB / 472.4 MB, free: 28.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1958, allocations: 40.73 kB / 472.5 MB, free: 28.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1959, allocations: 482.3 kB / 473 MB, free: 28.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.196, allocations: 297.8 kB / 473.2 MB, free: 28.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.1962, allocations: 199.6 kB / 473.4 MB, free: 28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.1963, allocations: 378.7 kB / 473.8 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.1968, allocations: 382.3 kB / 474.2 MB, free: 27.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.1974, allocations: 0.7183 MB / 474.9 MB, free: 26.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.1985, allocations: 1.056 MB / 476 MB, free: 26.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1985, allocations: 3.062 kB / 476 MB, free: 26.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001431/0.1999, allocations: 1.197 MB / 477.2 MB, free: 25.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1999, allocations: 9.094 kB / 477.2 MB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1999, allocations: 6.188 kB / 477.2 MB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.2001, allocations: 40.33 kB / 477.2 MB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.2006, allocations: 293.1 kB / 477.5 MB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2006, allocations: 16.03 kB / 477.5 MB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.2011, allocations: 155.6 kB / 477.7 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.2012, allocations: 51.61 kB / 477.7 MB, free: 25.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.2014, allocations: 257.2 kB / 478 MB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.2016, allocations: 69.92 kB / 478 MB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.2029, allocations: 1.03 MB / 479.1 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2029, allocations: 12.31 kB / 479.1 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2029, allocations: 0 / 479.1 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2029, allocations: 9.406 kB / 479.1 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.2053, allocations: 2.145 MB / 481.2 MB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2053, allocations: 5.094 kB / 481.2 MB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.2058, allocations: 219.1 kB / 481.5 MB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.942e-05/0.2059, allocations: 28.3 kB / 481.5 MB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.2059, allocations: 31.86 kB / 481.5 MB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.2059, allocations: 8.031 kB / 481.5 MB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2059, allocations: 5.312 kB / 481.5 MB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.2078, allocations: 1.843 MB / 483.4 MB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2079, allocations: 86.09 kB / 483.4 MB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.208, allocations: 18.78 kB / 483.5 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.2084, allocations: 59.64 kB / 483.5 MB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2085, allocations: 74.11 kB / 483.6 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2086, allocations: 28.22 kB / 483.6 MB, free: 22.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003036/0.2089, allocations: 405.5 kB / 484 MB, free: 22.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2089, allocations: 4 kB / 484 MB, free: 22.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007637/0.2096, allocations: 294.7 kB / 484.3 MB, free: 22.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.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): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/0.2117, allocations: 2.43 MB / 486.7 MB, free: 20.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.2131, allocations: 0.9178 MB / 487.7 MB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2131, allocations: 1.438 kB / 487.7 MB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.2137, allocations: 448.8 kB / 488.1 MB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.2145, allocations: 104 kB / 488.2 MB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008224/0.2227, allocations: 7.799 MB / 496 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.223, allocations: 392.4 kB / 496.4 MB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004129/0.2234, allocations: 139.1 kB / 496.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.2238, allocations: 372.8 kB / 496.9 MB, free: 15.32 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2238, allocations: 7.938 kB / 496.9 MB, free: 15.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.2549, allocations: 18.98 MB / 0.5038 GB, free: 6.254 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.803, allocations: 4.062 kB / 0.5038 GB, free: 6.25 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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: 9.824499514885247]