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.001483/0.001483, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001564/0.001564, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2343/0.2343, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.002153/0.002153, allocations: 67.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 66.03 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008522/0.3558, allocations: 5.788 MB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.3607, allocations: 2.127 MB / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.3612, allocations: 23.94 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003585/0.3648, allocations: 1.408 MB / 0.5702 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.3668, allocations: 0.7144 MB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.3682, allocations: 0.5714 MB / 0.5715 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3696, allocations: 1.174 MB / 0.5726 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.3711, allocations: 0.8671 MB / 0.5734 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.3718, allocations: 0.5137 MB / 0.574 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.3725, allocations: 0.6148 MB / 0.5746 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.3726, allocations: 108 kB / 0.5747 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.3733, allocations: 287.8 kB / 0.5749 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3735, allocations: 263 kB / 0.5752 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.374, allocations: 461.9 kB / 0.5756 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.3759, allocations: 1.533 MB / 0.5771 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3759, allocations: 0 / 0.5771 GB, free: 3.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3759, allocations: 0 / 0.5771 GB, free: 3.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.3759, allocations: 0 / 0.5771 GB, free: 3.684 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.3804, allocations: 1.612 MB / 0.5787 GB, free: 2.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3804, allocations: 8.031 kB / 0.5787 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008564/0.389, allocations: 1.124 MB / 0.5798 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3902, allocations: 484.2 kB / 0.5803 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3903, allocations: 90.7 kB / 0.5803 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.3905, allocations: 116.4 kB / 0.5805 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.3933, allocations: 1.46 MB / 0.5819 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.3934, allocations: 7.875 kB / 0.5819 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.3935, allocations: 52 kB / 0.5819 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.3935, allocations: 28 kB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.3967, allocations: 1.409 MB / 0.5833 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/0.4038, allocations: 3.517 MB / 0.5868 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.4067, allocations: 1.015 MB / 0.5878 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009092/0.4076, allocations: 395 kB / 0.5881 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.4077, allocations: 31.92 kB / 0.5882 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.4078, allocations: 46.55 kB / 0.5882 GB, free: 7.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.856e-06/0.4078, allocations: 0 / 0.5882 GB, free: 7.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003211/0.411, allocations: 1.156 MB / 0.5893 GB, free: 6.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.4112, allocations: 251.3 kB / 0.5896 GB, free: 6.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.4118, allocations: 449.2 kB / 0.59 GB, free: 6.074 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.4118, allocations: 41.7 kB / 0.5901 GB, free: 6.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.4122, allocations: 484 kB / 0.5905 GB, free: 5.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.4125, allocations: 305.4 kB / 0.5908 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.4128, allocations: 194.8 kB / 0.591 GB, free: 5.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.413, allocations: 370.7 kB / 0.5913 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00093/0.4139, allocations: 386.4 kB / 0.5917 GB, free: 4.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4152, allocations: 0.7144 MB / 0.5924 GB, free: 3.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.4173, allocations: 1.058 MB / 0.5934 GB, free: 2.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4173, allocations: 0 / 0.5934 GB, free: 2.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002668/0.42, allocations: 1.191 MB / 0.5946 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.42, allocations: 8 kB / 0.5946 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.42, allocations: 8 kB / 0.5946 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.4202, allocations: 36.84 kB / 0.5947 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4214, allocations: 291.5 kB / 0.5949 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.4214, allocations: 16.16 kB / 0.595 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.4222, allocations: 147.1 kB / 0.5951 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/0.4223, allocations: 55.97 kB / 0.5951 GB, free: 0.5312 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.0004128/0.4227, allocations: 249.5 kB / 0.5954 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.4229, allocations: 59.62 kB / 0.5954 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.4255, allocations: 1.014 MB / 0.5964 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4255, allocations: 15.94 kB / 0.5964 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4255, allocations: 4 kB / 0.5965 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4255, allocations: 3.984 kB / 0.5965 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.4296, allocations: 2.006 MB / 0.5984 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4296, allocations: 4 kB / 0.5984 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009595/0.4306, allocations: 215.7 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-05/0.4307, allocations: 24.84 kB / 0.5986 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.4307, allocations: 31.92 kB / 0.5987 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.4308, allocations: 4 kB / 0.5987 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4308, allocations: 15.94 kB / 0.5987 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.4342, allocations: 1.82 MB / 0.6005 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4343, allocations: 71.41 kB / 0.6005 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.4344, allocations: 20 kB / 0.6006 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.4352, allocations: 67.92 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.4353, allocations: 67.88 kB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.4354, allocations: 31.98 kB / 0.6007 GB, free: 10.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003662/0.4358, allocations: 303.1 kB / 0.601 GB, free: 10.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4358, allocations: 0 / 0.601 GB, free: 10.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001139/0.4369, allocations: 295.3 kB / 0.6013 GB, free: 10.15 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.0002889/0.4372, allocations: 155 kB / 0.6014 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.4395, allocations: 0.9177 MB / 0.6023 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4395, allocations: 0 / 0.6023 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.4405, allocations: 444.6 kB / 0.6028 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.4415, allocations: 93.22 kB / 0.6029 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.4446, allocations: 1.742 MB / 0.6046 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.4451, allocations: 397.6 kB / 0.6049 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004839/0.4456, allocations: 121.5 kB / 0.605 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.4458, allocations: 91.39 kB / 0.6051 GB, free: 6.137 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4458, allocations: 0 / 0.6051 GB, free: 6.137 MB / 446.1 MB Notification: Performance of Templates: time 0.02087/0.4667, allocations: 10.94 MB / 0.6158 GB, free: 11.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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: 5.889401149004698]