Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.0017/0.0017, allocations: 113.1 kB / 21.86 MB, free: 88 kB / 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.002066/0.002066, allocations: 212 kB / 25.14 MB, free: 3.598 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.424/1.424, allocations: 230.2 MB / 258.5 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2186/0.2186, allocations: 46.94 MB / 361.8 MB, free: 4.43 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 79.88 kB / 0.4975 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3175, allocations: 66.03 MB / 0.562 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008891/0.3264, allocations: 6.576 MB / 0.5684 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004858/0.3312, allocations: 2.255 MB / 0.5706 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.3319, allocations: 20 kB / 0.5706 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.3355, allocations: 1.521 MB / 0.5721 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.3377, allocations: 0.7175 MB / 0.5728 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3391, allocations: 0.6029 MB / 0.5734 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3408, allocations: 1.174 MB / 0.5746 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.342, allocations: 0.7197 MB / 0.5753 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.3427, allocations: 0.5137 MB / 0.5758 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.3435, allocations: 0.6147 MB / 0.5764 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3437, allocations: 104 kB / 0.5765 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.3443, allocations: 295.8 kB / 0.5768 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.3445, allocations: 263 kB / 0.577 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.3451, allocations: 0.5558 MB / 0.5775 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.347, allocations: 1.518 MB / 0.579 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.347, allocations: 0 / 0.579 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.347, allocations: 0 / 0.579 GB, free: 3.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.347, allocations: 0 / 0.579 GB, free: 3.051 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.00439/0.3514, allocations: 1.616 MB / 0.5806 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3514, allocations: 8.031 kB / 0.5806 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008593/0.36, allocations: 1.12 MB / 0.5817 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.3612, allocations: 488.3 kB / 0.5822 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/0.3613, allocations: 86.7 kB / 0.5823 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.3615, allocations: 120.3 kB / 0.5824 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.3642, allocations: 1.352 MB / 0.5837 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3642, allocations: 3.938 kB / 0.5837 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3644, allocations: 52 kB / 0.5837 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.3644, allocations: 28 kB / 0.5838 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.3674, allocations: 1.429 MB / 0.5852 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007499/0.3749, allocations: 4.011 MB / 0.5891 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.3778, allocations: 1.013 MB / 0.5901 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/0.3788, allocations: 384.9 kB / 0.5904 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.3789, allocations: 39.89 kB / 0.5905 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.379, allocations: 46.56 kB / 0.5905 GB, free: 6.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.767e-06/0.379, allocations: 0 / 0.5905 GB, free: 6.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003346/0.3823, allocations: 1.173 MB / 0.5917 GB, free: 5.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.3825, allocations: 247.3 kB / 0.5919 GB, free: 5.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.3834, allocations: 0.5605 MB / 0.5925 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.3834, allocations: 41.7 kB / 0.5925 GB, free: 4.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.3838, allocations: 476.1 kB / 0.5929 GB, free: 4.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.3842, allocations: 309.3 kB / 0.5932 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.3845, allocations: 202.9 kB / 0.5934 GB, free: 3.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.3848, allocations: 378.7 kB / 0.5938 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009316/0.3857, allocations: 382.4 kB / 0.5942 GB, free: 3.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.387, allocations: 0.6641 MB / 0.5948 GB, free: 2.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.3892, allocations: 1.062 MB / 0.5958 GB, free: 1.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.3892, allocations: 4 kB / 0.5958 GB, free: 1.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002731/0.3919, allocations: 1.2 MB / 0.597 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.392, allocations: 8 kB / 0.597 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.392, allocations: 11.98 kB / 0.597 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.3922, allocations: 36.84 kB / 0.5971 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.3934, allocations: 283.8 kB / 0.5973 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/0.3934, allocations: 27.88 kB / 0.5974 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/0.3943, allocations: 151.1 kB / 0.5975 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.3944, allocations: 51.97 kB / 0.5976 GB, free: 15.38 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.0004167/0.3948, allocations: 249.5 kB / 0.5978 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.395, allocations: 71.58 kB / 0.5979 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.3975, allocations: 1.039 MB / 0.5989 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.3975, allocations: 7.984 kB / 0.5989 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3975, allocations: 4 kB / 0.5989 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3977, allocations: 79.38 kB / 0.599 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.3978, allocations: 20 kB / 0.599 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.3986, allocations: 63.94 kB / 0.5991 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.3988, allocations: 71.86 kB / 0.5991 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002894/0.4016, allocations: 1.454 MB / 0.6005 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003292/0.4049, allocations: 1.902 MB / 0.6024 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009292/0.4059, allocations: 394.7 kB / 0.6028 GB, free: 9.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005676/0.4064, allocations: 398.8 kB / 0.6032 GB, free: 9.605 MB / 446.1 MB Notification: Performance of Backend: time 4.31e-07/0.4064, allocations: 0 / 0.6032 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.4092, allocations: 0.7733 MB / 0.6039 GB, free: 8.824 MB / 446.1 MB Notification: Performance of SimCode: time 0.002954/0.4121, allocations: 2.014 MB / 0.6059 GB, free: 6.754 MB / 446.1 MB Notification: Performance of Templates: time 0.03059/0.4427, allocations: 15.99 MB / 0.6215 GB, free: 6.809 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.5105825170030585]