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.001026/0.001026, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001029/0.001029, allocations: 173.4 kB / 24.91 MB, free: 8.773 MB / 18.57 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 0.9667/0.9667, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.2621/0.2621, allocations: 34.25 MB / 296.1 MB, free: 0.6914 MB / 266.7 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 1.092e-06/1.092e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.306e-05, allocations: 3.703 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.004986/0.004999, allocations: 6.286 MB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.007433, allocations: 2.26 MB / 333.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.007676, allocations: 23.94 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.009354, allocations: 1.61 MB / 335.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008879/0.01024, allocations: 0.7067 MB / 336.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.01092, allocations: 0.5808 MB / 336.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008055/0.01173, allocations: 1.222 MB / 338 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.01254, allocations: 0.8986 MB / 338.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.01313, allocations: 0.7249 MB / 339.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.01356, allocations: 0.5064 MB / 340.1 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.01365, allocations: 104 kB / 340.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.01401, allocations: 295.6 kB / 340.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01415, allocations: 266.9 kB / 340.7 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.01438, allocations: 394.9 kB / 341.1 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.01521, allocations: 0.9962 MB / 342.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01522, allocations: 0 / 342.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01522, allocations: 0 / 342.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01522, allocations: 4 kB / 342.1 MB, free: 6.734 MB / 314.7 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.002174/0.0174, allocations: 1.631 MB / 343.8 MB, free: 5.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.01743, allocations: 12.03 kB / 343.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.02227, allocations: 1.561 MB / 345.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.02266, allocations: 311.8 kB / 345.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.02272, allocations: 86.7 kB / 345.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.02283, allocations: 112.4 kB / 345.8 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.02379, allocations: 1.027 MB / 346.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.02382, allocations: 4.141 kB / 346.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.02388, allocations: 48.38 kB / 346.9 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.0239, allocations: 35.94 kB / 346.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.02453, allocations: 0.5395 MB / 347.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.02761, allocations: 2.808 MB / 350.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.02872, allocations: 0.8718 MB / 351.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.02888, allocations: 162.7 kB / 351.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.495e-05/0.02895, allocations: 39.88 kB / 351.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.02899, allocations: 58.34 kB / 351.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.504e-06/0.02899, allocations: 0 / 351.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.0007236/0.02971, allocations: 474.6 kB / 351.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.02979, allocations: 243.3 kB / 352.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.03001, allocations: 375 kB / 352.5 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.03005, allocations: 37.7 kB / 352.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.03024, allocations: 468.3 kB / 353 MB, free: 11.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.03038, allocations: 301.4 kB / 353.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.03056, allocations: 186.8 kB / 353.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.03066, allocations: 370.7 kB / 353.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.0308, allocations: 110.5 kB / 353.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.03109, allocations: 467.6 kB / 354.4 MB, free: 9.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.03157, allocations: 0.5896 MB / 355 MB, free: 9.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.03158, allocations: 0 / 355 MB, free: 9.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006184/0.03219, allocations: 0.5799 MB / 355.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.03221, allocations: 8 kB / 355.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.03222, allocations: 8 kB / 355.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.03236, allocations: 28.84 kB / 355.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.03295, allocations: 287.9 kB / 355.9 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.03296, allocations: 27.92 kB / 355.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.03327, allocations: 119.2 kB / 356 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.03331, allocations: 43.97 kB / 356.1 MB, free: 8.133 MB / 330.7 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.0001599/0.03347, allocations: 173.5 kB / 356.2 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.03361, allocations: 67.94 kB / 356.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.03422, allocations: 0.5043 MB / 356.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.03422, allocations: 8 kB / 356.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.03423, allocations: 4 kB / 356.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.03424, allocations: 3.984 kB / 356.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.03556, allocations: 1.198 MB / 358 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03556, allocations: 0 / 358 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.03603, allocations: 219.7 kB / 358.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-05/0.03608, allocations: 20.84 kB / 358.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.03611, allocations: 23.98 kB / 358.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.03612, allocations: 4 kB / 358.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.03612, allocations: 7.984 kB / 358.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.03687, allocations: 1.017 MB / 359.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.03692, allocations: 71.44 kB / 359.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.03698, allocations: 24 kB / 359.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.03729, allocations: 43.97 kB / 359.4 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.03741, allocations: 79.67 kB / 359.5 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.03744, allocations: 23.98 kB / 359.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.03756, allocations: 152.6 kB / 359.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03756, allocations: 0 / 359.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000578/0.03814, allocations: 315.2 kB / 360 MB, free: 4.121 MB / 330.7 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.0001907/0.03833, allocations: 130.4 kB / 360.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005499/0.03888, allocations: 464.3 kB / 360.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.0389, allocations: 16.5 kB / 360.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.03912, allocations: 240.6 kB / 360.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.03967, allocations: 109.3 kB / 360.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.04132, allocations: 1.467 MB / 362.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.04145, allocations: 174 kB / 362.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.04174, allocations: 121.5 kB / 362.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.04212, allocations: 203.3 kB / 362.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04212, allocations: 0 / 362.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of Templates: time 0.01253/0.05465, allocations: 10.23 MB / 373.1 MB, free: 7.043 MB / 346.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2204803861677647]