Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 63.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3651, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008278/0.3734, allocations: 5.787 MB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.3787, allocations: 2.127 MB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.3794, allocations: 20 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.3829, allocations: 1.408 MB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.3852, allocations: 0.7148 MB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.3866, allocations: 0.5645 MB / 0.5722 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3881, allocations: 1.174 MB / 0.5733 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3895, allocations: 0.8506 MB / 0.5742 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007619/0.3903, allocations: 0.5098 MB / 0.5747 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.3909, allocations: 0.5444 MB / 0.5752 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.3911, allocations: 107.9 kB / 0.5753 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.3918, allocations: 291.8 kB / 0.5756 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.392, allocations: 259 kB / 0.5758 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.3924, allocations: 461.9 kB / 0.5763 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.3942, allocations: 1.533 MB / 0.5778 GB, free: 3.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3942, allocations: 0 / 0.5778 GB, free: 3.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3942, allocations: 0 / 0.5778 GB, free: 3.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.3943, allocations: 0 / 0.5778 GB, free: 3.785 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.004549/0.3988, allocations: 1.612 MB / 0.5793 GB, free: 2.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3989, allocations: 12.03 kB / 0.5793 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008321/0.4072, allocations: 1.124 MB / 0.5804 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.4086, allocations: 484.3 kB / 0.5809 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/0.4086, allocations: 90.69 kB / 0.581 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.4089, allocations: 112.4 kB / 0.5811 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.4117, allocations: 1.456 MB / 0.5825 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.4117, allocations: 4 kB / 0.5825 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.4119, allocations: 48 kB / 0.5826 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.4119, allocations: 28 kB / 0.5826 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.4149, allocations: 1.417 MB / 0.584 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/0.4222, allocations: 3.517 MB / 0.5874 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.4252, allocations: 1.028 MB / 0.5884 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/0.4261, allocations: 380.9 kB / 0.5888 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.4262, allocations: 35.97 kB / 0.5888 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.4263, allocations: 50.5 kB / 0.5889 GB, free: 8.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.236e-06/0.4263, allocations: 0 / 0.5889 GB, free: 8.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003339/0.4296, allocations: 1.156 MB / 0.59 GB, free: 6.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.4298, allocations: 243.3 kB / 0.5902 GB, free: 6.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.4304, allocations: 453.3 kB / 0.5907 GB, free: 6.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.4305, allocations: 37.7 kB / 0.5907 GB, free: 6.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.4308, allocations: 488 kB / 0.5912 GB, free: 5.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.4311, allocations: 301.4 kB / 0.5914 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.4314, allocations: 198.8 kB / 0.5916 GB, free: 5.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4316, allocations: 374.6 kB / 0.592 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/0.4326, allocations: 378.4 kB / 0.5924 GB, free: 4.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.4338, allocations: 0.7221 MB / 0.5931 GB, free: 3.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.436, allocations: 1.054 MB / 0.5941 GB, free: 2.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.436, allocations: 7.938 kB / 0.5941 GB, free: 2.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002792/0.4388, allocations: 1.191 MB / 0.5953 GB, free: 1.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4388, allocations: 12.12 kB / 0.5953 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4388, allocations: 8 kB / 0.5953 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.439, allocations: 36.84 kB / 0.5953 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.4402, allocations: 283.5 kB / 0.5956 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.4402, allocations: 23.92 kB / 0.5956 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/0.4412, allocations: 143.1 kB / 0.5957 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/0.4412, allocations: 47.98 kB / 0.5958 GB, free: 0.6367 MB / 430.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.0004815/0.4417, allocations: 249.5 kB / 0.596 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.442, allocations: 63.62 kB / 0.5961 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.4445, allocations: 1.018 MB / 0.5971 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.4445, allocations: 15.94 kB / 0.5971 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4446, allocations: 0 / 0.5971 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.4446, allocations: 11.97 kB / 0.5971 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.4488, allocations: 1.994 MB / 0.5991 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4488, allocations: 0 / 0.5991 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.4498, allocations: 223.7 kB / 0.5993 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.4499, allocations: 28.84 kB / 0.5993 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.45, allocations: 27.92 kB / 0.5993 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.45, allocations: 7.984 kB / 0.5993 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.45, allocations: 0 / 0.5993 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.4535, allocations: 1.827 MB / 0.6011 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.4536, allocations: 67.42 kB / 0.6012 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.4538, allocations: 28.03 kB / 0.6012 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007938/0.4545, allocations: 59.94 kB / 0.6013 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.4547, allocations: 79.8 kB / 0.6013 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.4548, allocations: 27.98 kB / 0.6014 GB, free: 10.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.4552, allocations: 295.2 kB / 0.6017 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4552, allocations: 0 / 0.6017 GB, free: 10.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001183/0.4564, allocations: 311.2 kB / 0.6019 GB, free: 10.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.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.0003062/0.4567, allocations: 151.1 kB / 0.6021 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.4591, allocations: 0.9141 MB / 0.603 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4591, allocations: 3.938 kB / 0.603 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.4602, allocations: 443.9 kB / 0.6034 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4612, allocations: 97.67 kB / 0.6035 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.4644, allocations: 1.772 MB / 0.6052 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.4648, allocations: 393.6 kB / 0.6056 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.4652, allocations: 95.38 kB / 0.6057 GB, free: 6.309 MB / 446.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4652, allocations: 0 / 0.6057 GB, free: 6.309 MB / 446.1 MB Notification: Performance of Templates: time 0.02413/0.4893, allocations: 15.88 MB / 0.6212 GB, free: 6.398 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 8.77957074996084]