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.0008472/0.0008472, 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.0008637/0.0008637, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9288/0.9288, allocations: 177 MB / 204.1 MB, free: 5.746 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.2377/0.2377, 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.703e-06/1.703e-06, allocations: 0 / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.304e-05, allocations: 6.219 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.187/0.187, allocations: 5.786 MB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.1905, allocations: 2.131 MB / 450.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.1911, allocations: 26.91 kB / 450.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.1929, allocations: 1.493 MB / 451.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.1944, allocations: 0.7219 MB / 452.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.1953, allocations: 0.5723 MB / 452.9 MB, free: 38.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.1963, allocations: 1.22 MB / 454.1 MB, free: 37.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1973, allocations: 0.8346 MB / 454.9 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007626/0.1981, allocations: 0.7317 MB / 455.7 MB, free: 36.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.1985, allocations: 490.1 kB / 456.2 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.1986, allocations: 111.2 kB / 456.3 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.1992, allocations: 278.3 kB / 456.5 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.1993, allocations: 262.5 kB / 456.8 MB, free: 36.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.1995, allocations: 393.2 kB / 457.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2007, allocations: 1.538 MB / 458.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2008, allocations: 6.094 kB / 458.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2008, allocations: 0 / 458.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.2008, 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.002559/0.2033, allocations: 1.601 MB / 460.3 MB, free: 34.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2034, allocations: 9.406 kB / 460.3 MB, free: 34.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.2036, allocations: 186.4 kB / 460.5 MB, free: 34.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.2074, allocations: 1.12 MB / 461.6 MB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.2081, allocations: 489.5 kB / 462.1 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.2082, allocations: 90.77 kB / 462.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2083, allocations: 117.3 kB / 462.3 MB, free: 33.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.2098, allocations: 1.462 MB / 463.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.2099, allocations: 3.094 kB / 463.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/0.2099, allocations: 52.55 kB / 463.8 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.21, allocations: 28.5 kB / 463.9 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.2115, allocations: 1.417 MB / 465.3 MB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.2152, allocations: 3.717 MB / 469 MB, free: 30.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.2166, allocations: 1.012 MB / 470 MB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.2171, allocations: 386.6 kB / 470.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.2171, allocations: 30.02 kB / 470.4 MB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2171, allocations: 52.25 kB / 470.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/0.2171, allocations: 0 / 470.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.001682/0.2188, allocations: 1.173 MB / 471.6 MB, free: 29.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2189, allocations: 240.8 kB / 471.9 MB, free: 29.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.2193, allocations: 0.5781 MB / 472.4 MB, free: 28.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.2193, allocations: 37.05 kB / 472.5 MB, free: 28.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2194, allocations: 479.9 kB / 472.9 MB, free: 28.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2196, allocations: 305 kB / 473.2 MB, free: 28.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2197, allocations: 195.3 kB / 473.4 MB, free: 27.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.2198, allocations: 379.7 kB / 473.8 MB, free: 27.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.2203, allocations: 386.2 kB / 474.2 MB, free: 27.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.2208, allocations: 0.7166 MB / 474.9 MB, free: 26.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2218, allocations: 1.059 MB / 476 MB, free: 26.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2218, allocations: 3 kB / 476 MB, free: 26.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001366/0.2232, allocations: 1.195 MB / 477.2 MB, free: 25.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2232, allocations: 9.375 kB / 477.2 MB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2232, allocations: 6.094 kB / 477.2 MB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.2234, allocations: 43.64 kB / 477.2 MB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.2239, allocations: 289 kB / 477.5 MB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.2239, allocations: 22.81 kB / 477.5 MB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2244, allocations: 156.7 kB / 477.7 MB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.2244, allocations: 53.12 kB / 477.7 MB, free: 25.68 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.0002637/0.2247, allocations: 250.4 kB / 478 MB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2248, allocations: 71.48 kB / 478 MB, free: 25.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.2261, allocations: 1.024 MB / 479.1 MB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2261, allocations: 12.78 kB / 479.1 MB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2261, allocations: 3.031 kB / 479.1 MB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2261, allocations: 3.234 kB / 479.1 MB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.2284, allocations: 2.152 MB / 481.2 MB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2284, allocations: 4.969 kB / 481.2 MB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.2289, allocations: 216.8 kB / 481.5 MB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.946e-05/0.229, allocations: 28.47 kB / 481.5 MB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.229, allocations: 30.83 kB / 481.5 MB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.229, allocations: 8.344 kB / 481.5 MB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.229, allocations: 2.219 kB / 481.5 MB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.2309, allocations: 1.847 MB / 483.4 MB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.231, allocations: 84 kB / 483.4 MB, free: 22.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.2311, allocations: 22.06 kB / 483.5 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.2315, allocations: 64.89 kB / 483.5 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2316, allocations: 70.22 kB / 483.6 MB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.2316, allocations: 31.7 kB / 483.6 MB, free: 22.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.232, allocations: 401.9 kB / 484 MB, free: 22.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.232, allocations: 0 / 484 MB, free: 22.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008391/0.2328, allocations: 294.9 kB / 484.3 MB, free: 22.43 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.002137/0.2349, allocations: 2.433 MB / 486.7 MB, free: 20.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2364, allocations: 0.9114 MB / 487.7 MB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2364, allocations: 0 / 487.7 MB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000566/0.237, allocations: 449 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.0007044/0.2377, allocations: 109.3 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.00762/0.2453, 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.0003139/0.2456, allocations: 392.3 kB / 496.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004005/0.246, allocations: 140.7 kB / 496.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.2464, allocations: 376.7 kB / 496.9 MB, free: 15.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2464, allocations: 0 / 496.9 MB, free: 15.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.2781, allocations: 18.98 MB / 0.5038 GB, free: 6.238 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.937, allocations: 4 kB / 0.5038 GB, free: 6.234 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.064070143736899]