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.001954/0.001954, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002119/0.002119, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.3335/0.3335, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.069e-05/1.069e-05, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/4.285e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.01288/0.01292, allocations: 5.797 MB / 383.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006517/0.01944, allocations: 2.134 MB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007562/0.0202, allocations: 20 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.02519, allocations: 1.493 MB / 386.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.02759, allocations: 0.7106 MB / 387.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.02918, allocations: 0.584 MB / 388 MB, free: 8.184 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.03147, allocations: 1.221 MB / 389.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.03306, allocations: 0.8365 MB / 390.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.03422, allocations: 0.721 MB / 390.8 MB, free: 5.375 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.03497, allocations: 486.6 kB / 391.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.03514, allocations: 108 kB / 391.4 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.03583, allocations: 283.6 kB / 391.7 MB, free: 4.516 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.03609, allocations: 267 kB / 391.9 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.03657, allocations: 398.9 kB / 392.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.03863, allocations: 1.546 MB / 393.9 MB, free: 2.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.03863, allocations: 0 / 393.9 MB, free: 2.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.03863, allocations: 0 / 393.9 MB, free: 2.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.03864, allocations: 0 / 393.9 MB, free: 2.312 MB / 362.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.004423/0.04307, allocations: 1.597 MB / 395.5 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.0431, allocations: 8.031 kB / 395.5 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008793/0.0519, allocations: 1.393 MB / 396.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.0534, allocations: 495.5 kB / 397.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/0.0535, allocations: 82.7 kB / 397.4 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.05373, allocations: 124.3 kB / 397.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.05668, allocations: 1.452 MB / 399 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.05672, allocations: 4.172 kB / 399 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.05685, allocations: 52.36 kB / 399 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.05688, allocations: 31.94 kB / 399.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.0601, allocations: 1.413 MB / 400.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007885/0.06799, allocations: 3.565 MB / 404.1 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.07108, allocations: 1.006 MB / 405.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.07205, allocations: 383.3 kB / 405.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.07218, allocations: 35.97 kB / 405.5 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.07223, allocations: 50.5 kB / 405.5 MB, free: 6.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.07223, allocations: 4 kB / 405.5 MB, free: 6.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.003486/0.07572, allocations: 1.188 MB / 406.7 MB, free: 5.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.07589, allocations: 247.2 kB / 407 MB, free: 4.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.07649, allocations: 449.3 kB / 407.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.18e-05/0.07658, allocations: 41.77 kB / 407.4 MB, free: 4.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.07697, allocations: 495.8 kB / 407.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.07726, allocations: 297.4 kB / 408.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.07762, allocations: 190.9 kB / 408.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.07784, allocations: 366.8 kB / 408.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.07885, allocations: 386.4 kB / 409.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.08019, allocations: 0.7144 MB / 409.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.08269, allocations: 1.046 MB / 410.9 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.0827, allocations: 7.938 kB / 410.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002982/0.08568, allocations: 1.229 MB / 412.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.08571, allocations: 8 kB / 412.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.08573, allocations: 8.75 kB / 412.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.0859, allocations: 48.83 kB / 412.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.08715, allocations: 283.6 kB / 412.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/0.08718, allocations: 19.92 kB / 412.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.08807, allocations: 135.2 kB / 412.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/0.08817, allocations: 55.98 kB / 412.7 MB, free: 14.8 MB / 394.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.000458/0.08863, allocations: 253.5 kB / 412.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.08891, allocations: 87.62 kB / 413 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.09164, allocations: 1.023 MB / 414 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.09165, allocations: 12 kB / 414 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.09166, allocations: 7.984 kB / 414 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.09168, allocations: 7.922 kB / 414.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.09618, allocations: 2 MB / 416.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.09619, allocations: 0 / 416.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.09725, allocations: 215.7 kB / 416.3 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.09738, allocations: 28.84 kB / 416.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.09745, allocations: 31.98 kB / 416.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.09746, allocations: 11.92 kB / 416.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.09747, allocations: 3.938 kB / 416.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.1015, allocations: 1.855 MB / 418.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.1017, allocations: 63.44 kB / 418.3 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.1018, allocations: 23.97 kB / 418.3 MB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008654/0.1026, allocations: 67.88 kB / 418.3 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.1028, allocations: 67.95 kB / 418.4 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.1029, allocations: 35.98 kB / 418.4 MB, free: 8.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004455/0.1034, allocations: 299.2 kB / 418.7 MB, free: 8.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1034, allocations: 0 / 418.7 MB, free: 8.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001229/0.1046, allocations: 303.2 kB / 419 MB, free: 8.352 MB / 394.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.0003374/0.1049, allocations: 169.9 kB / 419.2 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.1075, allocations: 0.9162 MB / 420.1 MB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1075, allocations: 4.062 kB / 420.1 MB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.1086, allocations: 436.8 kB / 420.6 MB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.1096, allocations: 121.2 kB / 420.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.1129, allocations: 1.66 MB / 422.3 MB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.1135, allocations: 389.6 kB / 422.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005793/0.114, allocations: 129.4 kB / 422.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.1143, allocations: 92.45 kB / 422.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1143, allocations: 0 / 422.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of Templates: time 0.02004/0.1344, allocations: 9.507 MB / 432.4 MB, free: 10.97 MB / 410.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=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.627930885064416]