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.001377/0.001377, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 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.002182/0.002182, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 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 1.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.2224/0.2224, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 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 0.002357/0.002357, allocations: 75.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3179, allocations: 66.08 MB / 0.5607 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.01143/0.3293, allocations: 6.596 MB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006133/0.3354, allocations: 2.286 MB / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008456/0.3363, allocations: 20 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.341, allocations: 1.527 MB / 0.5709 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.344, allocations: 0.7181 MB / 0.5716 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.3463, allocations: 0.5938 MB / 0.5722 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.3489, allocations: 1.182 MB / 0.5734 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.351, allocations: 0.8675 MB / 0.5742 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.352, allocations: 0.5099 MB / 0.5747 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.3531, allocations: 0.6185 MB / 0.5753 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.3533, allocations: 108 kB / 0.5754 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.3542, allocations: 291.8 kB / 0.5757 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.3545, allocations: 259 kB / 0.5759 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007929/0.3553, allocations: 0.5597 MB / 0.5765 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.3579, allocations: 1.514 MB / 0.578 GB, free: 2.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.3579, allocations: 7.922 kB / 0.578 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3579, allocations: 4 kB / 0.578 GB, free: 2.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.71e-05/0.358, allocations: 0 / 0.578 GB, free: 2.598 MB / 414.1 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.005434/0.3634, allocations: 1.608 MB / 0.5795 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3635, allocations: 12.02 kB / 0.5796 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.3637, allocations: 183.9 kB / 0.5797 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00837/0.3721, allocations: 1.132 MB / 0.5808 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3733, allocations: 484.3 kB / 0.5813 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.3734, allocations: 86.73 kB / 0.5814 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.3736, allocations: 120.3 kB / 0.5815 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.3763, allocations: 1.364 MB / 0.5828 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.3764, allocations: 0 / 0.5828 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.3765, allocations: 52 kB / 0.5829 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.3765, allocations: 28 kB / 0.5829 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.3795, allocations: 1.437 MB / 0.5843 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007621/0.3872, allocations: 4.05 MB / 0.5883 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/0.39, allocations: 1.025 MB / 0.5893 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.3909, allocations: 392.7 kB / 0.5896 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.391, allocations: 40.09 kB / 0.5897 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.391, allocations: 38.56 kB / 0.5897 GB, free: 6.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.575e-06/0.391, allocations: 0 / 0.5897 GB, free: 6.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003146/0.3942, allocations: 1.172 MB / 0.5909 GB, free: 5.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.3943, allocations: 255.2 kB / 0.5911 GB, free: 4.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.3951, allocations: 0.5607 MB / 0.5916 GB, free: 4.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.3951, allocations: 37.7 kB / 0.5917 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.3955, allocations: 487.9 kB / 0.5921 GB, free: 3.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.3957, allocations: 301.4 kB / 0.5924 GB, free: 3.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.3961, allocations: 202.8 kB / 0.5926 GB, free: 3.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3963, allocations: 374.8 kB / 0.593 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/0.3972, allocations: 382.4 kB / 0.5933 GB, free: 2.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3983, allocations: 0.6642 MB / 0.594 GB, free: 1.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.4004, allocations: 1.058 MB / 0.595 GB, free: 456 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4004, allocations: 7.938 kB / 0.595 GB, free: 448 kB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002746/0.4032, allocations: 1.196 MB / 0.5962 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4032, allocations: 11.94 kB / 0.5962 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4032, allocations: 8 kB / 0.5962 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.4034, allocations: 45.53 kB / 0.5963 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4046, allocations: 283.5 kB / 0.5965 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/0.4046, allocations: 19.94 kB / 0.5966 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4057, allocations: 155 kB / 0.5967 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.4057, allocations: 55.97 kB / 0.5968 GB, free: 14.66 MB / 446.1 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.0004468/0.4062, allocations: 249.5 kB / 0.597 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.4064, allocations: 75.52 kB / 0.5971 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.4089, allocations: 1.036 MB / 0.5981 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4089, allocations: 12 kB / 0.5981 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4089, allocations: 0 / 0.5981 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4089, allocations: 7.984 kB / 0.5981 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.4133, allocations: 2.286 MB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4133, allocations: 0 / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009855/0.4143, allocations: 219.7 kB / 0.6005 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.4144, allocations: 32.83 kB / 0.6006 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.4144, allocations: 27.98 kB / 0.6006 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.4145, allocations: 11.92 kB / 0.6006 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4145, allocations: 0 / 0.6006 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.4182, allocations: 1.842 MB / 0.6024 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.4184, allocations: 83.38 kB / 0.6025 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4185, allocations: 24 kB / 0.6025 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/0.4193, allocations: 63.94 kB / 0.6026 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4195, allocations: 71.8 kB / 0.6026 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/0.4196, allocations: 31.98 kB / 0.6027 GB, free: 8.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005188/0.4201, allocations: 402.8 kB / 0.6031 GB, free: 8.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4201, allocations: 0 / 0.6031 GB, free: 8.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00111/0.4212, allocations: 295.3 kB / 0.6033 GB, free: 7.824 MB / 446.1 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.004098/0.4253, allocations: 2.441 MB / 0.6057 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00241/0.4277, allocations: 0.9033 MB / 0.6066 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4277, allocations: 256 / 0.6066 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4287, allocations: 440.3 kB / 0.607 GB, free: 4.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4298, allocations: 106.5 kB / 0.6071 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4428, allocations: 7.867 MB / 0.6148 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.4435, allocations: 0.9801 MB / 0.6158 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005154/0.444, allocations: 138.2 kB / 0.6159 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/0.4447, allocations: 375.3 kB / 0.6163 GB, free: 10.17 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4447, allocations: 8 kB / 0.6163 GB, free: 10.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05194/0.4966, allocations: 18.35 MB / 0.6342 GB, free: 7.949 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.07, allocations: 11.92 kB / 0.6342 GB, free: 7.938 MB / 478.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/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: 17.094468837000022]