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.001869/0.001869, allocations: 127.4 kB / 17.79 MB, free: 5.262 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.001373/0.001373, allocations: 215.6 kB / 20.75 MB, free: 2.309 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.436/1.436, allocations: 230.4 MB / 254 MB, free: 15.03 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.2241/0.2241, allocations: 46.92 MB / 357 MB, free: 10.19 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.002512/0.002512, allocations: 80.16 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1233, allocations: 66.04 MB / 0.5555 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009007/0.1323, allocations: 6.578 MB / 0.5619 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005458/0.1377, allocations: 2.274 MB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.1388, allocations: 23.94 kB / 0.5641 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003915/0.1427, allocations: 1.538 MB / 0.5656 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.1454, allocations: 0.7147 MB / 0.5663 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1469, allocations: 0.5837 MB / 0.5669 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.1489, allocations: 1.178 MB / 0.568 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.1503, allocations: 0.7195 MB / 0.5687 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.1512, allocations: 0.5138 MB / 0.5692 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000941/0.1521, allocations: 0.6225 MB / 0.5699 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.1524, allocations: 104 kB / 0.57 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007652/0.1532, allocations: 291.8 kB / 0.5702 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.1535, allocations: 267 kB / 0.5705 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007348/0.1542, allocations: 0.552 MB / 0.571 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1563, allocations: 1.514 MB / 0.5725 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1563, allocations: 0 / 0.5725 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1563, allocations: 0 / 0.5725 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.1563, allocations: 0 / 0.5725 GB, free: 3.996 MB / 430.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.004824/0.1611, allocations: 1.692 MB / 0.5742 GB, free: 2.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1612, allocations: 12.03 kB / 0.5742 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/0.1615, allocations: 183.9 kB / 0.5743 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008798/0.1703, allocations: 1.128 MB / 0.5754 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1713, allocations: 0.5338 MB / 0.576 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.1714, allocations: 86.73 kB / 0.5761 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.1717, allocations: 116.4 kB / 0.5762 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.1746, allocations: 1.368 MB / 0.5775 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.1747, allocations: 4 kB / 0.5775 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.1748, allocations: 48 kB / 0.5775 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.1748, allocations: 32 kB / 0.5776 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.178, allocations: 1.433 MB / 0.579 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009039/0.1871, allocations: 5.643 MB / 0.5845 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.1909, allocations: 2.072 MB / 0.5865 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009836/0.1919, allocations: 392.7 kB / 0.5869 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.1921, allocations: 194.3 kB / 0.5871 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1921, allocations: 46.56 kB / 0.5871 GB, free: 4.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.476e-06/0.1921, allocations: 3.938 kB / 0.5871 GB, free: 4 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003612/0.1957, allocations: 1.248 MB / 0.5883 GB, free: 2.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.1959, allocations: 255.2 kB / 0.5886 GB, free: 2.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.1967, allocations: 0.5644 MB / 0.5891 GB, free: 1.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.1968, allocations: 41.7 kB / 0.5892 GB, free: 1.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.1971, allocations: 472.1 kB / 0.5896 GB, free: 1.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.1974, allocations: 305.4 kB / 0.5899 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/0.1978, allocations: 198.8 kB / 0.5901 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.198, allocations: 378.8 kB / 0.5905 GB, free: 460 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/0.199, allocations: 382.4 kB / 0.5908 GB, free: 76 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.243/0.442, allocations: 0.6588 MB / 0.5915 GB, free: 33.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.4439, allocations: 1.055 MB / 0.5925 GB, free: 32.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.4439, allocations: 2.625 kB / 0.5925 GB, free: 32.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002603/0.4465, allocations: 1.201 MB / 0.5937 GB, free: 32.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4465, allocations: 11.97 kB / 0.5937 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4465, allocations: 8.844 kB / 0.5937 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.4467, allocations: 34.44 kB / 0.5937 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.4478, allocations: 290 kB / 0.594 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.4479, allocations: 20.52 kB / 0.594 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008705/0.4487, allocations: 154.4 kB / 0.5942 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.4488, allocations: 50.67 kB / 0.5942 GB, free: 32.58 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.0003908/0.4492, allocations: 251 kB / 0.5945 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.4494, allocations: 77.84 kB / 0.5945 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.452, allocations: 1.026 MB / 0.5955 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.452, allocations: 14.41 kB / 0.5956 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.452, allocations: 4.125 kB / 0.5956 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.452, allocations: 6.156 kB / 0.5956 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.456, allocations: 2.321 MB / 0.5978 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.456, allocations: 1.125 kB / 0.5978 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009666/0.457, allocations: 227.5 kB / 0.598 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.4571, allocations: 30.33 kB / 0.5981 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.4572, allocations: 26.09 kB / 0.5981 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.4572, allocations: 4 kB / 0.5981 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4572, allocations: 2.938 kB / 0.5981 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.4603, allocations: 1.839 MB / 0.5999 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.4605, allocations: 162.9 kB / 0.6001 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.4606, allocations: 19.52 kB / 0.6001 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.4614, allocations: 64.19 kB / 0.6001 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.4616, allocations: 65.14 kB / 0.6002 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.4616, allocations: 40.75 kB / 0.6002 GB, free: 30.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004728/0.4621, allocations: 396.7 kB / 0.6006 GB, free: 30.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4621, allocations: 0 / 0.6006 GB, free: 30.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001152/0.4633, allocations: 302.8 kB / 0.6009 GB, free: 30.09 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.003319/0.4666, allocations: 2.43 MB / 0.6033 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.4691, allocations: 0.9905 MB / 0.6042 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4691, allocations: 0 / 0.6042 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.4701, allocations: 0.51 MB / 0.6047 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4712, allocations: 109 kB / 0.6048 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.4834, allocations: 7.853 MB / 0.6125 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.4839, allocations: 0.9848 MB / 0.6135 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005467/0.4845, allocations: 141.1 kB / 0.6136 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.485, allocations: 371.5 kB / 0.614 GB, free: 22.14 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.485, allocations: 3.938 kB / 0.614 GB, free: 22.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.526, allocations: 17.66 MB / 0.6312 GB, free: 12.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.73, allocations: 6.25 kB / 0.6312 GB, free: 12.23 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.846413768013008]