Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.0007955/0.0007955, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008267/0.0008267, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.879/0.879, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2524/0.2524, allocations: 34.25 MB / 294.9 MB, free: 0.7305 MB / 266.7 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.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.879e-05, allocations: 2.281 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.1685/0.1685, allocations: 5.788 MB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1708, allocations: 2.133 MB / 450.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.1711, allocations: 19.91 kB / 450.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1723, allocations: 1.501 MB / 451.6 MB, free: 39.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007795/0.1731, allocations: 0.7132 MB / 452.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.1737, allocations: 0.5808 MB / 452.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.1742, allocations: 1.211 MB / 454.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.1748, allocations: 0.8451 MB / 455 MB, free: 37.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.1753, allocations: 0.7275 MB / 455.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.1756, allocations: 487.1 kB / 456.2 MB, free: 36.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.1756, allocations: 107.7 kB / 456.3 MB, free: 36.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.1759, allocations: 284.5 kB / 456.5 MB, free: 36.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.176, allocations: 264.2 kB / 456.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1762, allocations: 388.5 kB / 457.2 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009019/0.1771, allocations: 1.547 MB / 458.7 MB, free: 35.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1771, allocations: 0 / 458.7 MB, free: 35.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1771, allocations: 0 / 458.7 MB, free: 35.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1771, allocations: 0 / 458.7 MB, free: 35.67 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.002191/0.1793, allocations: 1.599 MB / 460.3 MB, free: 34.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1794, allocations: 11.03 kB / 460.3 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.1795, allocations: 187.2 kB / 460.5 MB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/0.1832, allocations: 1.118 MB / 461.6 MB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.1837, allocations: 484.6 kB / 462.1 MB, free: 34.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.1838, allocations: 89.89 kB / 462.2 MB, free: 34.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1839, allocations: 116.5 kB / 462.3 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.1852, allocations: 1.466 MB / 463.8 MB, free: 33.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.1852, allocations: 3.156 kB / 463.8 MB, free: 33.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.1853, allocations: 49.88 kB / 463.8 MB, free: 33.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1853, allocations: 28.56 kB / 463.9 MB, free: 33.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1867, allocations: 1.431 MB / 465.3 MB, free: 32.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.19, allocations: 3.705 MB / 469 MB, free: 30.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1913, allocations: 1.019 MB / 470 MB, free: 30.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.1918, allocations: 388.7 kB / 470.4 MB, free: 29.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.717e-05/0.1918, allocations: 35.48 kB / 470.4 MB, free: 29.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.1919, allocations: 44.81 kB / 470.5 MB, free: 29.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=84): time 1.923e-06/0.1919, allocations: 0 / 470.5 MB, free: 29.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.00159/0.1934, allocations: 1.175 MB / 471.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1935, allocations: 244.5 kB / 471.9 MB, free: 29.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.1938, allocations: 0.5785 MB / 472.5 MB, free: 28.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.1939, allocations: 40.98 kB / 472.5 MB, free: 28.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.194, allocations: 474.8 kB / 473 MB, free: 28.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/0.1941, allocations: 299.5 kB / 473.3 MB, free: 28.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1942, allocations: 199.5 kB / 473.5 MB, free: 28.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.1943, allocations: 375.4 kB / 473.8 MB, free: 27.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.1948, allocations: 386.5 kB / 474.2 MB, free: 27.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.1953, allocations: 0.7181 MB / 474.9 MB, free: 27.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.1963, allocations: 1.052 MB / 476 MB, free: 26.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1963, allocations: 3 kB / 476 MB, free: 26.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001297/0.1976, allocations: 1.198 MB / 477.2 MB, free: 25.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1976, allocations: 13.66 kB / 477.2 MB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1976, allocations: 7.344 kB / 477.2 MB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.856e-05/0.1977, allocations: 39.42 kB / 477.2 MB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1983, allocations: 287.9 kB / 477.5 MB, free: 25.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.1983, allocations: 19.75 kB / 477.5 MB, free: 25.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.1987, allocations: 159.2 kB / 477.7 MB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.1987, allocations: 53.88 kB / 477.7 MB, free: 25.8 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.0002003/0.1989, allocations: 251 kB / 478 MB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.199, allocations: 71.77 kB / 478.1 MB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.2002, allocations: 1.031 MB / 479.1 MB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2002, allocations: 16.38 kB / 479.1 MB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2002, allocations: 2.062 kB / 479.1 MB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2002, allocations: 9.625 kB / 479.1 MB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.2023, allocations: 2.144 MB / 481.3 MB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2023, allocations: 10 kB / 481.3 MB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.2028, allocations: 214.8 kB / 481.5 MB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.838e-05/0.2028, allocations: 29.02 kB / 481.5 MB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.2029, allocations: 24.36 kB / 481.5 MB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2029, allocations: 4.625 kB / 481.5 MB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2029, allocations: 0.9062 kB / 481.5 MB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2046, allocations: 1.846 MB / 483.4 MB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.2047, allocations: 83.17 kB / 483.5 MB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2048, allocations: 19.28 kB / 483.5 MB, free: 22.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.2052, allocations: 64.47 kB / 483.5 MB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2053, allocations: 78.86 kB / 483.6 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.2053, allocations: 26.23 kB / 483.6 MB, free: 22.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.2056, allocations: 404.3 kB / 484 MB, free: 22.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2056, allocations: 0 / 484 MB, free: 22.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006445/0.2062, allocations: 294.9 kB / 484.3 MB, free: 22.55 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.00202/0.2083, allocations: 2.434 MB / 486.8 MB, free: 20.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2095, allocations: 0.9126 MB / 487.7 MB, free: 20.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2095, allocations: 0 / 487.7 MB, free: 20.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.2101, allocations: 451.8 kB / 488.1 MB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.2108, allocations: 115.3 kB / 488.2 MB, free: 20.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/0.2184, allocations: 7.796 MB / 496 MB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2187, allocations: 394.3 kB / 496.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.219, allocations: 141.2 kB / 496.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.2194, allocations: 372.5 kB / 496.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2194, allocations: 0 / 496.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.2483, allocations: 18.97 MB / 0.5038 GB, free: 6.422 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.687, allocations: 12.06 kB / 0.5038 GB, free: 6.41 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.770901246927679]