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.001732/0.001732, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.002075/0.002075, allocations: 214.7 kB / 23.78 MB, free: 4.328 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.539/1.539, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2466/0.2466, allocations: 46.95 MB / 360.9 MB, free: 3.875 MB / 286.1 MB " [Timeout remaining time 179] 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.002326/0.002326, allocations: 79.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3598, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008078/0.3679, allocations: 5.775 MB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.3726, allocations: 2.138 MB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.3734, allocations: 20 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.3774, allocations: 1.403 MB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.3798, allocations: 0.7023 MB / 0.5706 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3812, allocations: 0.5763 MB / 0.5711 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.3828, allocations: 1.171 MB / 0.5723 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.3842, allocations: 0.8557 MB / 0.5731 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.3849, allocations: 0.5138 MB / 0.5736 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.3856, allocations: 0.5444 MB / 0.5741 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3858, allocations: 108 kB / 0.5742 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.3864, allocations: 279.8 kB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.3866, allocations: 263 kB / 0.5748 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.387, allocations: 465.8 kB / 0.5752 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.3889, allocations: 1.529 MB / 0.5767 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3889, allocations: 0 / 0.5767 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3889, allocations: 4 kB / 0.5767 GB, free: 3.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3889, allocations: 0 / 0.5767 GB, free: 3.594 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.004575/0.3935, allocations: 1.608 MB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3935, allocations: 8.031 kB / 0.5783 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003362/0.3939, allocations: 183.9 kB / 0.5784 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008777/0.4026, allocations: 1.128 MB / 0.5796 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.404, allocations: 488.3 kB / 0.58 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.4041, allocations: 86.73 kB / 0.5801 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.4044, allocations: 120.4 kB / 0.5802 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.4076, allocations: 1.468 MB / 0.5816 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.4076, allocations: 7.938 kB / 0.5817 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.4077, allocations: 48 kB / 0.5817 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.4077, allocations: 28 kB / 0.5817 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.4108, allocations: 1.421 MB / 0.5831 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007256/0.4181, allocations: 3.718 MB / 0.5867 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.421, allocations: 1.001 MB / 0.5877 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.422, allocations: 396.8 kB / 0.5881 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.4221, allocations: 31.97 kB / 0.5881 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.505e-05/0.4222, allocations: 50.47 kB / 0.5882 GB, free: 7.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.055e-06/0.4222, allocations: 0 / 0.5882 GB, free: 7.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003459/0.4256, allocations: 1.169 MB / 0.5893 GB, free: 6.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.4258, allocations: 255.2 kB / 0.5896 GB, free: 5.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.4266, allocations: 0.5682 MB / 0.5901 GB, free: 5.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.4267, allocations: 41.7 kB / 0.5902 GB, free: 5.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.4272, allocations: 492.2 kB / 0.5906 GB, free: 4.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.4274, allocations: 305.4 kB / 0.5909 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.4277, allocations: 190.9 kB / 0.5911 GB, free: 4.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4279, allocations: 378.8 kB / 0.5915 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009431/0.4289, allocations: 382.3 kB / 0.5918 GB, free: 3.637 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.4303, allocations: 0.7182 MB / 0.5925 GB, free: 2.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.4325, allocations: 1.058 MB / 0.5936 GB, free: 1.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.4325, allocations: 0 / 0.5936 GB, free: 1.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002807/0.4354, allocations: 1.2 MB / 0.5947 GB, free: 404 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.4354, allocations: 14.28 kB / 0.5947 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4354, allocations: 8 kB / 0.5948 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.4356, allocations: 33.53 kB / 0.5948 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4368, allocations: 295.5 kB / 0.5951 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/0.4368, allocations: 23.92 kB / 0.5951 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009783/0.4378, allocations: 155 kB / 0.5952 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.4379, allocations: 47.98 kB / 0.5953 GB, free: 15.83 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.0004443/0.4383, allocations: 253.5 kB / 0.5955 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.4386, allocations: 75.52 kB / 0.5956 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.4413, allocations: 1.032 MB / 0.5966 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4413, allocations: 12 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4413, allocations: 0 / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4413, allocations: 7.984 kB / 0.5966 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.4458, allocations: 2.138 MB / 0.5987 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4458, allocations: 3.984 kB / 0.5987 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.4468, allocations: 219.7 kB / 0.5989 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.4469, allocations: 28.84 kB / 0.599 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.447, allocations: 23.98 kB / 0.599 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.447, allocations: 7.938 kB / 0.599 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.447, allocations: 0 / 0.599 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.4504, allocations: 1.837 MB / 0.6008 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.4506, allocations: 91.31 kB / 0.6009 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4507, allocations: 23.94 kB / 0.6009 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.4516, allocations: 63.92 kB / 0.601 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.4518, allocations: 71.81 kB / 0.601 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/0.4519, allocations: 35.98 kB / 0.6011 GB, free: 9.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000571/0.4524, allocations: 394.8 kB / 0.6014 GB, free: 9.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4524, allocations: 4 kB / 0.6014 GB, free: 9.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001067/0.4535, allocations: 299.4 kB / 0.6017 GB, free: 9.141 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.003892/0.4574, allocations: 2.441 MB / 0.6041 GB, free: 6.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.4597, allocations: 0.9109 MB / 0.605 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4597, allocations: 0 / 0.605 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.4608, allocations: 432.8 kB / 0.6054 GB, free: 5.328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.4618, allocations: 106.1 kB / 0.6055 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.4747, allocations: 7.871 MB / 0.6132 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4752, allocations: 394 kB / 0.6136 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000532/0.4757, allocations: 138.2 kB / 0.6137 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/0.4763, allocations: 371.3 kB / 0.6141 GB, free: 12.08 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4763, allocations: 3.938 kB / 0.6141 GB, free: 12.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.5287, allocations: 19.01 MB / 0.6326 GB, free: 9.277 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.55, allocations: 3.781 kB / 0.6326 GB, free: 9.277 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.947367051616311]