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.001402/0.001402, allocations: 131.4 kB / 17.8 MB, free: 5.215 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.001486/0.001486, allocations: 211.6 kB / 20.75 MB, free: 2.266 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.563/1.563, allocations: 230.5 MB / 254 MB, free: 15.17 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.2522/0.2522, allocations: 46.92 MB / 357 MB, free: 10.3 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.002232/0.002232, allocations: 84.16 kB / 0.491 GB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1376, allocations: 66.04 MB / 0.5555 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008794/0.1464, allocations: 6.583 MB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.151, allocations: 2.263 MB / 0.5641 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.1514, allocations: 23.94 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.1548, allocations: 1.547 MB / 0.5656 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.1568, allocations: 0.7075 MB / 0.5663 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1582, allocations: 0.5855 MB / 0.5669 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1597, allocations: 1.182 MB / 0.568 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1609, allocations: 0.7272 MB / 0.5688 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007366/0.1617, allocations: 0.5138 MB / 0.5693 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.1624, allocations: 0.6147 MB / 0.5699 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.1626, allocations: 104 kB / 0.57 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008047/0.1634, allocations: 287.8 kB / 0.5702 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.1637, allocations: 263 kB / 0.5705 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.1643, allocations: 0.5597 MB / 0.571 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1664, allocations: 1.514 MB / 0.5725 GB, free: 4.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1664, allocations: 3.938 kB / 0.5725 GB, free: 4.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1664, allocations: 4 kB / 0.5725 GB, free: 4.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.1664, allocations: 0 / 0.5725 GB, free: 4.074 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.004799/0.1712, allocations: 1.691 MB / 0.5742 GB, free: 2.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1713, allocations: 8.031 kB / 0.5742 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002861/0.1716, allocations: 187.9 kB / 0.5744 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008803/0.1804, allocations: 1.128 MB / 0.5755 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.1816, allocations: 0.5298 MB / 0.576 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.1817, allocations: 90.73 kB / 0.5761 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.1819, allocations: 112.4 kB / 0.5762 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.1849, allocations: 1.372 MB / 0.5775 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/0.185, allocations: 4 kB / 0.5775 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1851, allocations: 44 kB / 0.5776 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.1851, allocations: 32 kB / 0.5776 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.1885, allocations: 1.437 MB / 0.579 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008783/0.1972, allocations: 5.643 MB / 0.5845 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.2012, allocations: 2.077 MB / 0.5865 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009878/0.2022, allocations: 382.7 kB / 0.5869 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.2024, allocations: 194.2 kB / 0.5871 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.2024, allocations: 46.5 kB / 0.5871 GB, free: 4.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.465e-06/0.2024, allocations: 0 / 0.5871 GB, free: 4.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003582/0.206, allocations: 1.247 MB / 0.5883 GB, free: 2.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.2062, allocations: 247.3 kB / 0.5886 GB, free: 2.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.207, allocations: 0.5683 MB / 0.5891 GB, free: 1.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.2071, allocations: 41.77 kB / 0.5892 GB, free: 1.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.2075, allocations: 480 kB / 0.5896 GB, free: 1.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.2078, allocations: 305.4 kB / 0.5899 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.2081, allocations: 198.8 kB / 0.5901 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.2083, allocations: 374.8 kB / 0.5905 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.2093, allocations: 390.4 kB / 0.5908 GB, free: 156 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2842/0.4935, allocations: 0.6568 MB / 0.5915 GB, free: 33.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.4955, allocations: 1.054 MB / 0.5925 GB, free: 32.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.4955, allocations: 2.969 kB / 0.5925 GB, free: 32.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00274/0.4982, allocations: 1.2 MB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4982, allocations: 13.59 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4982, allocations: 10.84 kB / 0.5937 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.4984, allocations: 37.45 kB / 0.5937 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4996, allocations: 287.4 kB / 0.594 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.4996, allocations: 18.48 kB / 0.594 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/0.5005, allocations: 154.5 kB / 0.5942 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.5006, allocations: 54.33 kB / 0.5942 GB, free: 32.64 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.0003655/0.501, allocations: 255.3 kB / 0.5945 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.5012, allocations: 74.08 kB / 0.5945 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.5038, allocations: 1.029 MB / 0.5956 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.5038, allocations: 10.78 kB / 0.5956 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5038, allocations: 1.562 kB / 0.5956 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.5038, allocations: 6.969 kB / 0.5956 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.5084, allocations: 2.326 MB / 0.5978 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5084, allocations: 1.984 kB / 0.5978 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.5094, allocations: 223.4 kB / 0.5981 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.5095, allocations: 26.14 kB / 0.5981 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.5096, allocations: 24.84 kB / 0.5981 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.5096, allocations: 12.33 kB / 0.5981 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5096, allocations: 6.891 kB / 0.5981 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.513, allocations: 1.837 MB / 0.5999 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.5132, allocations: 165.1 kB / 0.6001 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.5134, allocations: 18.67 kB / 0.6001 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.5142, allocations: 64.66 kB / 0.6002 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.5144, allocations: 68.61 kB / 0.6002 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.5145, allocations: 32.48 kB / 0.6003 GB, free: 30.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005314/0.515, allocations: 395 kB / 0.6006 GB, free: 30.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.515, allocations: 0 / 0.6006 GB, free: 30.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001233/0.5162, allocations: 300.4 kB / 0.6009 GB, free: 30.11 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.003508/0.5197, allocations: 2.433 MB / 0.6033 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.5223, allocations: 0.9876 MB / 0.6043 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.5223, allocations: 0.75 kB / 0.6043 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5234, allocations: 0.5118 MB / 0.6048 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5244, allocations: 108.4 kB / 0.6049 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.5368, allocations: 7.852 MB / 0.6125 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.5374, allocations: 0.9836 MB / 0.6135 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005401/0.538, allocations: 141.8 kB / 0.6136 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.5385, allocations: 370.1 kB / 0.614 GB, free: 22.16 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5385, allocations: 5.219 kB / 0.614 GB, free: 22.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/0.5836, allocations: 17.66 MB / 0.6312 GB, free: 12.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.14, allocations: 4.062 kB / 0.6312 GB, free: 12.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.548363812966272]