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.00175/0.00175, allocations: 105.1 kB / 21.22 MB, free: 0.625 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.002134/0.002134, allocations: 218 kB / 24.52 MB, free: 3.91 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2174/0.2174, allocations: 46.96 MB / 361.6 MB, free: 4.047 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 83.86 kB / 0.4969 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.322, allocations: 66.07 MB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007761/0.3298, allocations: 5.785 MB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.3341, allocations: 2.127 MB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.3346, allocations: 20 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.3377, allocations: 1.402 MB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.3397, allocations: 0.7101 MB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3411, allocations: 0.5762 MB / 0.5718 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3427, allocations: 1.174 MB / 0.5729 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.3441, allocations: 0.8597 MB / 0.5738 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/0.3449, allocations: 0.5176 MB / 0.5743 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.3456, allocations: 0.6186 MB / 0.5749 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.3458, allocations: 108 kB / 0.575 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.3464, allocations: 279.8 kB / 0.5753 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.3466, allocations: 271 kB / 0.5755 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004559/0.3471, allocations: 465.9 kB / 0.576 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.3488, allocations: 1.529 MB / 0.5775 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3489, allocations: 0 / 0.5775 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3489, allocations: 0 / 0.5775 GB, free: 3.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3489, allocations: 0 / 0.5775 GB, free: 3.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.004271/0.3531, allocations: 1.608 MB / 0.579 GB, free: 1.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3532, allocations: 12.03 kB / 0.579 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.955e-05/0.3533, allocations: 45.78 kB / 0.5791 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/0.3535, allocations: 184 kB / 0.5793 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008382/0.3619, allocations: 1.128 MB / 0.5804 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3631, allocations: 484.2 kB / 0.5808 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.3632, allocations: 90.84 kB / 0.5809 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.3634, allocations: 124.4 kB / 0.581 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.3663, allocations: 1.476 MB / 0.5825 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.3663, allocations: 7.953 kB / 0.5825 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.3664, allocations: 48 kB / 0.5825 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.3665, allocations: 28 kB / 0.5826 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.3694, allocations: 1.448 MB / 0.584 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.3768, allocations: 3.785 MB / 0.5877 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.3797, allocations: 1.069 MB / 0.5887 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/0.3805, allocations: 408.9 kB / 0.5891 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3806, allocations: 31.95 kB / 0.5891 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.3807, allocations: 55.38 kB / 0.5892 GB, free: 7.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.845e-06/0.3807, allocations: 0 / 0.5892 GB, free: 7.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.013/0.3937, allocations: 4.278 MB / 0.5934 GB, free: 2.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.3938, allocations: 255.3 kB / 0.5936 GB, free: 2.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.3946, allocations: 0.5644 MB / 0.5942 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.3947, allocations: 49.64 kB / 0.5942 GB, free: 1.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.395, allocations: 468.6 kB / 0.5946 GB, free: 1.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.3954, allocations: 424.4 kB / 0.5951 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.3958, allocations: 242.8 kB / 0.5953 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.396, allocations: 386.8 kB / 0.5957 GB, free: 472 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.3977, allocations: 0.6077 MB / 0.5962 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.3998, allocations: 0.9608 MB / 0.5972 GB, free: 14.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.4035, allocations: 1.538 MB / 0.5987 GB, free: 13.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4035, allocations: 4 kB / 0.5987 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004643/0.4081, allocations: 1.764 MB / 0.6004 GB, free: 11.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.4082, allocations: 10.34 kB / 0.6004 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4082, allocations: 8 kB / 0.6004 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.4085, allocations: 69.67 kB / 0.6005 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.4105, allocations: 427.5 kB / 0.6009 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.643e-05/0.4105, allocations: 23.92 kB / 0.6009 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4119, allocations: 135.9 kB / 0.6011 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.4121, allocations: 63.95 kB / 0.6011 GB, free: 10.59 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 (160): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006182/0.4127, allocations: 285.3 kB / 0.6014 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.413, allocations: 83.48 kB / 0.6015 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.4175, allocations: 1.617 MB / 0.6031 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.4175, allocations: 12 kB / 0.6031 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.4175, allocations: 7.938 kB / 0.6031 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4176, allocations: 3.984 kB / 0.6031 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.4244, allocations: 2.915 MB / 0.6059 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4244, allocations: 7.938 kB / 0.6059 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.4261, allocations: 355.5 kB / 0.6063 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.4264, allocations: 61.67 kB / 0.6063 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.4265, allocations: 35.97 kB / 0.6064 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.4265, allocations: 8 kB / 0.6064 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4265, allocations: 3.938 kB / 0.6064 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/0.4327, allocations: 2.714 MB / 0.609 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.433, allocations: 79.5 kB / 0.6091 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4332, allocations: 24 kB / 0.6091 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.4345, allocations: 127.8 kB / 0.6092 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.4347, allocations: 111.7 kB / 0.6093 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.812e-05/0.4348, allocations: 47.97 kB / 0.6094 GB, free: 2.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005384/0.4353, allocations: 398.8 kB / 0.6098 GB, free: 1.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4353, allocations: 0 / 0.6098 GB, free: 1.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001255/0.4366, allocations: 288 kB / 0.61 GB, free: 1.34 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 (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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.00675/0.4434, allocations: 3.326 MB / 0.6133 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.4478, allocations: 1.45 MB / 0.6147 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4478, allocations: 0 / 0.6147 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.4501, allocations: 0.7256 MB / 0.6154 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4515, allocations: 122.4 kB / 0.6155 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.4719, allocations: 9.77 MB / 0.6251 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.4725, allocations: 426.4 kB / 0.6255 GB, free: 1.055 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008531/0.4733, allocations: 175.3 kB / 0.6257 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/0.4741, allocations: 435.2 kB / 0.6261 GB, free: 464 kB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4741, allocations: 4 kB / 0.6261 GB, free: 460 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.526, allocations: 22.91 MB / 0.6484 GB, free: 9.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/18.25, allocations: 15.94 kB / 0.6485 GB, free: 9.719 MB / 494.1 MB " [Timeout remaining time 642] (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: 21.748417106922716]