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.001861/0.001861, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00228/0.00228, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.528/1.528, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.2385/0.2385, allocations: 46.95 MB / 361.6 MB, free: 3.902 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 87.86 kB / 0.4974 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3328, allocations: 66.08 MB / 0.5619 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007873/0.3407, allocations: 5.787 MB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.3452, allocations: 2.127 MB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.3458, allocations: 27.94 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.3494, allocations: 1.407 MB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.3515, allocations: 0.7052 MB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.353, allocations: 0.5682 MB / 0.5723 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.3545, allocations: 1.174 MB / 0.5734 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.3558, allocations: 0.8506 MB / 0.5743 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007355/0.3565, allocations: 0.5137 MB / 0.5748 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/0.3572, allocations: 0.5405 MB / 0.5753 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.3574, allocations: 108 kB / 0.5754 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.358, allocations: 283.8 kB / 0.5757 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3583, allocations: 267 kB / 0.5759 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.3587, allocations: 465.8 kB / 0.5764 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.3606, allocations: 1.533 MB / 0.5779 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3606, allocations: 0 / 0.5779 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3606, allocations: 0 / 0.5779 GB, free: 3.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.3606, allocations: 0 / 0.5779 GB, free: 3.512 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.004364/0.365, allocations: 1.605 MB / 0.5794 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.365, allocations: 8.031 kB / 0.5794 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.3733, allocations: 1.132 MB / 0.5805 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.3745, allocations: 484.3 kB / 0.581 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.3746, allocations: 90.64 kB / 0.5811 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.3748, allocations: 112.4 kB / 0.5812 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.3777, allocations: 1.456 MB / 0.5826 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.3777, allocations: 7.938 kB / 0.5826 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3778, allocations: 48 kB / 0.5827 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.3778, allocations: 28 kB / 0.5827 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.3808, allocations: 1.409 MB / 0.5841 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007056/0.3879, allocations: 3.524 MB / 0.5875 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.3909, allocations: 1.011 MB / 0.5885 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.3917, allocations: 379 kB / 0.5889 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3919, allocations: 35.91 kB / 0.5889 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.3919, allocations: 42.56 kB / 0.5889 GB, free: 7.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.517e-06/0.3919, allocations: 4 kB / 0.5889 GB, free: 7.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003244/0.3952, allocations: 1.161 MB / 0.5901 GB, free: 6.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.3953, allocations: 247.3 kB / 0.5903 GB, free: 6.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.3959, allocations: 449.3 kB / 0.5907 GB, free: 5.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.3959, allocations: 45.77 kB / 0.5908 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.3963, allocations: 487.9 kB / 0.5913 GB, free: 5.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.3965, allocations: 305.4 kB / 0.5915 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.3968, allocations: 198.8 kB / 0.5917 GB, free: 4.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.397, allocations: 366.7 kB / 0.5921 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009589/0.398, allocations: 386.3 kB / 0.5925 GB, free: 4.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.3992, allocations: 0.7143 MB / 0.5931 GB, free: 3.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.4014, allocations: 1.062 MB / 0.5942 GB, free: 2.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4014, allocations: 0 / 0.5942 GB, free: 2.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002687/0.4041, allocations: 1.185 MB / 0.5953 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4041, allocations: 8 kB / 0.5954 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4041, allocations: 8.688 kB / 0.5954 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.4043, allocations: 40.78 kB / 0.5954 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.4055, allocations: 295.5 kB / 0.5957 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.4055, allocations: 15.94 kB / 0.5957 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/0.4064, allocations: 139.1 kB / 0.5958 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.4065, allocations: 55.97 kB / 0.5959 GB, free: 364 kB / 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.0004429/0.4069, allocations: 254.8 kB / 0.5961 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.4071, allocations: 63.62 kB / 0.5962 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.4097, allocations: 1.019 MB / 0.5972 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.4097, allocations: 11.94 kB / 0.5972 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4097, allocations: 4 kB / 0.5972 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4097, allocations: 3.984 kB / 0.5972 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.4139, allocations: 2.01 MB / 0.5992 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4139, allocations: 4 kB / 0.5992 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/0.4149, allocations: 215.7 kB / 0.5994 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.415, allocations: 28.84 kB / 0.5994 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.4151, allocations: 27.92 kB / 0.5994 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4151, allocations: 4 kB / 0.5994 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.4151, allocations: 7.938 kB / 0.5994 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.4185, allocations: 1.828 MB / 0.6012 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4187, allocations: 71.45 kB / 0.6013 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.4188, allocations: 16 kB / 0.6013 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007903/0.4196, allocations: 59.94 kB / 0.6014 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4197, allocations: 75.86 kB / 0.6014 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.4198, allocations: 31.98 kB / 0.6015 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003759/0.4202, allocations: 303.1 kB / 0.6018 GB, free: 10.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4202, allocations: 0 / 0.6018 GB, free: 10.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001167/0.4213, allocations: 307.2 kB / 0.602 GB, free: 9.957 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.0003006/0.4216, allocations: 147.1 kB / 0.6022 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.424, allocations: 0.916 MB / 0.6031 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.424, allocations: 4.312 kB / 0.6031 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4251, allocations: 439.2 kB / 0.6035 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.4261, allocations: 101.2 kB / 0.6036 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.4293, allocations: 1.775 MB / 0.6053 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4298, allocations: 389.6 kB / 0.6057 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.4301, allocations: 103.4 kB / 0.6058 GB, free: 6.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4301, allocations: 0 / 0.6058 GB, free: 6.02 MB / 446.1 MB Notification: Performance of Templates: time 0.02418/0.4543, allocations: 15.87 MB / 0.6213 GB, free: 6.113 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] 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: 9.040196211077273]