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.001469/0.001469, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001978/0.001978, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2313/0.2313, allocations: 46.94 MB / 360.8 MB, free: 3.941 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.002519/0.002519, allocations: 84.05 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3281, allocations: 66.09 MB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008169/0.3362, allocations: 5.778 MB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.3413, allocations: 2.134 MB / 0.5684 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006052/0.3419, allocations: 20 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.3454, allocations: 1.407 MB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.3478, allocations: 0.706 MB / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3494, allocations: 0.5692 MB / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.3513, allocations: 1.171 MB / 0.5722 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.3528, allocations: 0.8596 MB / 0.573 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008027/0.3536, allocations: 0.5137 MB / 0.5735 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.3544, allocations: 0.5444 MB / 0.5741 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.3546, allocations: 104 kB / 0.5742 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007659/0.3553, allocations: 283.8 kB / 0.5744 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.3556, allocations: 263 kB / 0.5747 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004732/0.3561, allocations: 461.8 kB / 0.5751 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.3579, allocations: 1.533 MB / 0.5766 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.3579, allocations: 0 / 0.5766 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3579, allocations: 4 kB / 0.5766 GB, free: 3.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.3579, allocations: 0 / 0.5766 GB, free: 3.762 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.004679/0.3626, allocations: 1.608 MB / 0.5782 GB, free: 2.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.3626, allocations: 15.97 kB / 0.5782 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002965/0.3629, allocations: 179.9 kB / 0.5784 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008369/0.3713, allocations: 1.128 MB / 0.5795 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.3726, allocations: 492.3 kB / 0.58 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.3726, allocations: 86.73 kB / 0.58 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.3728, allocations: 120.3 kB / 0.5802 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.3757, allocations: 1.46 MB / 0.5816 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.3757, allocations: 8 kB / 0.5816 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3758, allocations: 48 kB / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.3759, allocations: 28 kB / 0.5817 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.3789, allocations: 1.421 MB / 0.5831 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007324/0.3862, allocations: 3.722 MB / 0.5867 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.3892, allocations: 0.9952 MB / 0.5877 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.3901, allocations: 392.9 kB / 0.588 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3902, allocations: 31.95 kB / 0.5881 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.3902, allocations: 54.41 kB / 0.5881 GB, free: 7.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/0.3902, allocations: 0 / 0.5881 GB, free: 7.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003247/0.3935, allocations: 1.169 MB / 0.5893 GB, free: 6.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.3936, allocations: 251.3 kB / 0.5895 GB, free: 6.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.3944, allocations: 0.5721 MB / 0.5901 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.3944, allocations: 41.7 kB / 0.5901 GB, free: 5.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.3948, allocations: 488.2 kB / 0.5906 GB, free: 5.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.3951, allocations: 309.4 kB / 0.5909 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.3954, allocations: 190.8 kB / 0.591 GB, free: 4.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3956, allocations: 378.8 kB / 0.5914 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.3965, allocations: 378.4 kB / 0.5918 GB, free: 3.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3977, allocations: 0.7259 MB / 0.5925 GB, free: 2.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.3998, allocations: 1.054 MB / 0.5935 GB, free: 1.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.3999, allocations: 4 kB / 0.5935 GB, free: 1.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002677/0.4025, allocations: 1.196 MB / 0.5947 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4026, allocations: 11.94 kB / 0.5947 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.4026, allocations: 8 kB / 0.5947 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.4027, allocations: 37.53 kB / 0.5947 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4039, allocations: 287.5 kB / 0.595 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.4039, allocations: 23.92 kB / 0.595 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/0.4048, allocations: 155 kB / 0.5952 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.4049, allocations: 48.03 kB / 0.5952 GB, free: 15.99 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.0004067/0.4053, allocations: 261.5 kB / 0.5955 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.4055, allocations: 71.52 kB / 0.5955 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.408, allocations: 1.031 MB / 0.5965 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4081, allocations: 12 kB / 0.5966 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4081, allocations: 4 kB / 0.5966 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4081, allocations: 3.984 kB / 0.5966 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/0.4124, allocations: 2.134 MB / 0.5986 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.4124, allocations: 7.984 kB / 0.5987 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.4134, allocations: 223.7 kB / 0.5989 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.4135, allocations: 24.84 kB / 0.5989 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.4135, allocations: 23.98 kB / 0.5989 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.4136, allocations: 4 kB / 0.5989 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.4136, allocations: 11.94 kB / 0.5989 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.4169, allocations: 1.837 MB / 0.6007 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.4171, allocations: 87.31 kB / 0.6008 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4172, allocations: 20 kB / 0.6008 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.418, allocations: 63.92 kB / 0.6009 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.4182, allocations: 75.75 kB / 0.601 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.4183, allocations: 27.98 kB / 0.601 GB, free: 9.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000541/0.4188, allocations: 402.8 kB / 0.6014 GB, free: 9.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4188, allocations: 4 kB / 0.6014 GB, free: 9.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001113/0.4199, allocations: 299.3 kB / 0.6017 GB, free: 9.305 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.004022/0.4239, allocations: 2.433 MB / 0.604 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.4262, allocations: 0.9111 MB / 0.6049 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4262, allocations: 0 / 0.6049 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.4273, allocations: 444.9 kB / 0.6054 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/0.4282, allocations: 97.83 kB / 0.6054 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.4409, allocations: 7.871 MB / 0.6131 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.4414, allocations: 402 kB / 0.6135 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005931/0.442, allocations: 138.2 kB / 0.6136 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/0.4426, allocations: 367.3 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4426, allocations: 4 kB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05108/0.4936, allocations: 18.9 MB / 0.6325 GB, free: 9.535 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.32, allocations: 8.047 kB / 0.6325 GB, free: 9.527 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.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.460983996279538]