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.001856/0.001856, allocations: 112.9 kB / 21.1 MB, free: 0.7695 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.002132/0.002132, allocations: 209.1 kB / 24.38 MB, free: 4.184 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.426/1.426, allocations: 230.2 MB / 257.7 MB, free: 8.242 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.2267/0.2267, allocations: 46.91 MB / 361.1 MB, free: 4.418 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.002257/0.002257, allocations: 83.86 kB / 0.4963 GB, free: 8.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 66.04 MB / 0.5608 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.00809/0.3338, allocations: 6.571 MB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.3395, allocations: 2.247 MB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.3408, allocations: 20 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003735/0.3446, allocations: 1.527 MB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.3467, allocations: 0.7141 MB / 0.5716 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3482, allocations: 0.6048 MB / 0.5722 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.3499, allocations: 1.174 MB / 0.5733 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.3512, allocations: 0.7238 MB / 0.574 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.3519, allocations: 0.5099 MB / 0.5745 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.3527, allocations: 0.6186 MB / 0.5751 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.3528, allocations: 108 kB / 0.5752 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/0.3535, allocations: 291.8 kB / 0.5755 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.3537, allocations: 259 kB / 0.5758 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.3542, allocations: 0.5559 MB / 0.5763 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3561, allocations: 1.514 MB / 0.5778 GB, free: 3.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3561, allocations: 4 kB / 0.5778 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3561, allocations: 0 / 0.5778 GB, free: 3.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.3561, allocations: 4 kB / 0.5778 GB, free: 3.078 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.00443/0.3606, allocations: 1.608 MB / 0.5794 GB, free: 1.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3606, allocations: 8.031 kB / 0.5794 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002694/0.3609, allocations: 183.9 kB / 0.5795 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/0.3692, allocations: 1.132 MB / 0.5807 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.3706, allocations: 484.3 kB / 0.5811 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/0.3707, allocations: 86.73 kB / 0.5812 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.3709, allocations: 124.3 kB / 0.5813 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.3737, allocations: 1.364 MB / 0.5826 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.3737, allocations: 3.938 kB / 0.5827 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.3738, allocations: 48 kB / 0.5827 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.3738, allocations: 28 kB / 0.5827 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.3768, allocations: 1.437 MB / 0.5841 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007881/0.3847, allocations: 4.034 MB / 0.5881 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.3876, allocations: 1.003 MB / 0.589 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008824/0.3885, allocations: 388.8 kB / 0.5894 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.3886, allocations: 40.09 kB / 0.5895 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.3887, allocations: 54.41 kB / 0.5895 GB, free: 6.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.3887, allocations: 3.938 kB / 0.5895 GB, free: 6.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003274/0.392, allocations: 1.168 MB / 0.5907 GB, free: 5.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.3921, allocations: 247.2 kB / 0.5909 GB, free: 5.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.3929, allocations: 0.5606 MB / 0.5914 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.393, allocations: 41.7 kB / 0.5915 GB, free: 4.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.3933, allocations: 484 kB / 0.5919 GB, free: 4.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.3936, allocations: 301.4 kB / 0.5922 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.3939, allocations: 198.8 kB / 0.5924 GB, free: 3.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.394, allocations: 378.8 kB / 0.5928 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/0.3949, allocations: 382.4 kB / 0.5931 GB, free: 2.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.3961, allocations: 0.668 MB / 0.5938 GB, free: 2.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.3981, allocations: 1.054 MB / 0.5948 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3981, allocations: 4 kB / 0.5948 GB, free: 0.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002711/0.4009, allocations: 1.196 MB / 0.596 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.4009, allocations: 11.94 kB / 0.596 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4009, allocations: 8 kB / 0.596 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.4011, allocations: 33.53 kB / 0.596 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4022, allocations: 291.5 kB / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.4023, allocations: 19.94 kB / 0.5963 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.4032, allocations: 155 kB / 0.5965 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.4033, allocations: 63.95 kB / 0.5966 GB, free: 15.17 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.000436/0.4037, allocations: 250.8 kB / 0.5968 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.4039, allocations: 79.52 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.4064, allocations: 1.028 MB / 0.5979 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.4064, allocations: 12 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4064, allocations: 3.984 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4064, allocations: 3.984 kB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.4107, allocations: 2.286 MB / 0.6001 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.4107, allocations: 4 kB / 0.6001 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.4117, allocations: 219.7 kB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.4119, allocations: 28.78 kB / 0.6004 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.4119, allocations: 27.98 kB / 0.6004 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4119, allocations: 8 kB / 0.6004 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4119, allocations: 4 kB / 0.6004 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.4152, allocations: 1.834 MB / 0.6022 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.4154, allocations: 95.31 kB / 0.6023 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4156, allocations: 16 kB / 0.6023 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.4164, allocations: 67.92 kB / 0.6024 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.4165, allocations: 75.81 kB / 0.6024 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.4166, allocations: 31.92 kB / 0.6025 GB, free: 9.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005069/0.4171, allocations: 398.8 kB / 0.6028 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4171, allocations: 0 / 0.6028 GB, free: 8.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001088/0.4182, allocations: 299.3 kB / 0.6031 GB, free: 8.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 (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.003865/0.4221, allocations: 2.437 MB / 0.6055 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.4244, allocations: 0.9075 MB / 0.6064 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4245, allocations: 0 / 0.6064 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.4255, allocations: 440.5 kB / 0.6068 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.4266, allocations: 106.4 kB / 0.6069 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.4395, allocations: 7.867 MB / 0.6146 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.4402, allocations: 0.9841 MB / 0.6156 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.4407, allocations: 142.2 kB / 0.6157 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.4413, allocations: 375.2 kB / 0.6161 GB, free: 10.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.984e-06/0.4413, allocations: 0 / 0.6161 GB, free: 10.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/0.492, allocations: 18.3 MB / 0.6339 GB, free: 8.512 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.55, allocations: 7.625 kB / 0.6339 GB, free: 8.508 MB / 478.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.0.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: 14.675272866996238]