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.001082/0.001082, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001464/0.001464, allocations: 161.4 kB / 24.56 MB, free: 12 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.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.637 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.2444/0.2444, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.352e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005617/0.00564, allocations: 6.382 MB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.008998, allocations: 2.185 MB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.009412, allocations: 23.94 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.0112, allocations: 1.61 MB / 388.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.01238, allocations: 0.7301 MB / 389 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.01351, allocations: 0.5834 MB / 389.5 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.01452, allocations: 1.213 MB / 390.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009147/0.01543, allocations: 0.8442 MB / 391.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.01606, allocations: 0.7249 MB / 392.3 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.01648, allocations: 0.4986 MB / 392.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.01658, allocations: 108 kB / 392.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.017, allocations: 283.6 kB / 393.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.01713, allocations: 267 kB / 393.5 MB, free: 3.152 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.01738, allocations: 398.9 kB / 393.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.01819, allocations: 1 MB / 394.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.0182, allocations: 0 / 394.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0182, allocations: 0 / 394.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.01821, allocations: 0 / 394.9 MB, free: 1.758 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.002247/0.02045, allocations: 1.697 MB / 396.6 MB, free: 20 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.02049, allocations: 12.03 kB / 396.6 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.025, allocations: 1.405 MB / 398 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.02553, allocations: 486.4 kB / 398.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.02558, allocations: 86.7 kB / 398.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.02571, allocations: 120.3 kB / 398.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.02704, allocations: 1.139 MB / 399.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.02706, allocations: 4.188 kB / 399.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.02714, allocations: 48.38 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.02716, allocations: 31.94 kB / 399.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.02822, allocations: 0.759 MB / 400.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.03227, allocations: 3.675 MB / 404.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.03367, allocations: 1.013 MB / 405.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.03396, allocations: 230 kB / 405.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.03403, allocations: 35.97 kB / 405.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.03406, allocations: 62.02 kB / 405.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.265e-06/0.03406, allocations: 0 / 405.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001145/0.03521, allocations: 0.679 MB / 406.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.03529, allocations: 243.3 kB / 406.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.0356, allocations: 462.6 kB / 407 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.03564, allocations: 45.7 kB / 407 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.03585, allocations: 0.526 MB / 407.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.03599, allocations: 301.4 kB / 407.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.03619, allocations: 204.5 kB / 408.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.03633, allocations: 0.543 MB / 408.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.0366, allocations: 166.5 kB / 408.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.03706, allocations: 0.6101 MB / 409.4 MB, free: 2.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.03782, allocations: 0.7672 MB / 410.1 MB, free: 1.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.03783, allocations: 3.938 kB / 410.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00144/0.03927, allocations: 0.8155 MB / 411 MB, free: 0.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.03929, allocations: 14.38 kB / 411 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.0393, allocations: 15.94 kB / 411 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.03941, allocations: 39.66 kB / 411 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.03997, allocations: 267.6 kB / 411.3 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.03999, allocations: 19.94 kB / 411.3 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.04033, allocations: 115.3 kB / 411.4 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.04037, allocations: 47.98 kB / 411.5 MB, free: 288 kB / 378.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.0001865/0.04056, allocations: 232.1 kB / 411.7 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.04073, allocations: 95.66 kB / 411.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009192/0.04165, allocations: 0.6832 MB / 412.5 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.04166, allocations: 8 kB / 412.5 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.04167, allocations: 4 kB / 412.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.04168, allocations: 7.922 kB / 412.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.04353, allocations: 1.838 MB / 414.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.04353, allocations: 4 kB / 414.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.04399, allocations: 207.7 kB / 414.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.697e-05/0.04405, allocations: 23.67 kB / 414.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.04409, allocations: 27.97 kB / 414.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.04409, allocations: 4 kB / 414.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.04409, allocations: 3.938 kB / 414.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.04527, allocations: 1.501 MB / 416.1 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.04532, allocations: 67.47 kB / 416.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.04538, allocations: 27.88 kB / 416.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.04571, allocations: 47.97 kB / 416.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.04582, allocations: 71.86 kB / 416.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.04585, allocations: 27.98 kB / 416.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.04605, allocations: 295 kB / 416.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04605, allocations: 0 / 416.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006236/0.04667, allocations: 307.2 kB / 416.9 MB, free: 10.73 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.0002073/0.04688, allocations: 162 kB / 417.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007875/0.04766, allocations: 0.5737 MB / 417.7 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.04767, allocations: 0 / 417.7 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.04826, allocations: 297.3 kB / 418 MB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.04886, allocations: 126.8 kB / 418.1 MB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.05075, allocations: 1.557 MB / 419.6 MB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.05087, allocations: 177.8 kB / 419.8 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.05114, allocations: 121.5 kB / 419.9 MB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.05133, allocations: 88.45 kB / 420 MB, free: 7.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.05133, allocations: 0 / 420 MB, free: 7.543 MB / 394.7 MB Notification: Performance of Templates: time 0.01182/0.06315, allocations: 9.54 MB / 429.6 MB, free: 14.1 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=240 -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.684501432813704]