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.0009564/0.0009564, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001433/0.001433, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9505/0.9505, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2827/0.2827, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 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 2.615e-06/2.615e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.495e-05/4.756e-05, allocations: 3.578 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005887/0.005934, allocations: 6.378 MB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.00849, allocations: 2.192 MB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.008728, allocations: 20 kB / 387.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.01046, allocations: 1.614 MB / 389 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.01141, allocations: 0.7262 MB / 389.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.01211, allocations: 0.5755 MB / 390.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008182/0.01293, allocations: 1.217 MB / 391.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008799/0.01381, allocations: 0.8481 MB / 392.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.0144, allocations: 0.7327 MB / 393.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.01483, allocations: 0.4986 MB / 393.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.01493, allocations: 104 kB / 393.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.01528, allocations: 279.6 kB / 393.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.01542, allocations: 263 kB / 394.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.01567, allocations: 398.9 kB / 394.6 MB, free: 2.195 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.01653, allocations: 1 MB / 395.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01653, allocations: 0 / 395.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01653, allocations: 0 / 395.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01654, allocations: 0 / 395.6 MB, free: 1.191 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.002309/0.01885, allocations: 1.709 MB / 397.3 MB, free: 15.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.01889, allocations: 12.03 kB / 397.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.02303, allocations: 1.401 MB / 398.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.02358, allocations: 486.4 kB / 399.2 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.02364, allocations: 86.7 kB / 399.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.02377, allocations: 120.3 kB / 399.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.02507, allocations: 1.135 MB / 400.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.0251, allocations: 192 / 400.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.02518, allocations: 56.36 kB / 400.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.0252, allocations: 31.94 kB / 400.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.02623, allocations: 0.7629 MB / 401.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.0306, allocations: 3.668 MB / 405 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.03263, allocations: 1.011 MB / 406 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.03305, allocations: 230 kB / 406.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.03317, allocations: 35.97 kB / 406.3 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.03322, allocations: 58.08 kB / 406.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 4.679e-06/0.03323, allocations: 0 / 406.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001754/0.03498, allocations: 0.6818 MB / 407 MB, free: 5.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.03509, allocations: 243.3 kB / 407.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.03561, allocations: 466.3 kB / 407.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.03567, allocations: 41.7 kB / 407.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.036, allocations: 0.526 MB / 408.3 MB, free: 4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.03625, allocations: 305.4 kB / 408.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.03655, allocations: 208.5 kB / 408.8 MB, free: 3.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.03675, allocations: 0.5352 MB / 409.3 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.03716, allocations: 162.8 kB / 409.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.03786, allocations: 0.6218 MB / 410.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.03904, allocations: 0.7671 MB / 410.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.03905, allocations: 7.938 kB / 410.9 MB, free: 1.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001577/0.04063, allocations: 0.8119 MB / 411.7 MB, free: 236 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.04065, allocations: 12 kB / 411.7 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.04067, allocations: 12 kB / 411.7 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.04084, allocations: 35.67 kB / 411.8 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.0417, allocations: 272.1 kB / 412 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.04173, allocations: 19.94 kB / 412 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.0423, allocations: 115.3 kB / 412.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.04238, allocations: 47.98 kB / 412.2 MB, free: 15.72 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.0003086/0.04269, allocations: 228.1 kB / 412.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.04294, allocations: 95.56 kB / 412.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.04428, allocations: 0.681 MB / 413.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.04429, allocations: 8 kB / 413.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.04429, allocations: 4 kB / 413.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.04431, allocations: 7.922 kB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.04715, allocations: 1.849 MB / 415.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.04715, allocations: 0 / 415.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.04781, allocations: 199.8 kB / 415.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.903e-05/0.0479, allocations: 23.67 kB / 415.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.04796, allocations: 31.92 kB / 415.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.04797, allocations: 4 kB / 415.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.04797, allocations: 3.938 kB / 415.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.04964, allocations: 1.502 MB / 416.8 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.04974, allocations: 63.47 kB / 416.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.04983, allocations: 27.88 kB / 416.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.05036, allocations: 43.97 kB / 417 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.05051, allocations: 75.8 kB / 417 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.05057, allocations: 31.98 kB / 417.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002866/0.05086, allocations: 295 kB / 417.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05086, allocations: 0 / 417.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001141/0.052, allocations: 307.2 kB / 417.7 MB, free: 10.16 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.0003041/0.0523, allocations: 159 kB / 417.8 MB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.05358, allocations: 0.574 MB / 418.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.05358, allocations: 0.5625 kB / 418.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.05407, allocations: 298.3 kB / 418.7 MB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/0.05504, allocations: 121.3 kB / 418.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.05788, allocations: 1.563 MB / 420.4 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.05807, allocations: 185.8 kB / 420.5 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004398/0.05851, allocations: 121.5 kB / 420.7 MB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.05876, allocations: 88.45 kB / 420.7 MB, free: 6.977 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.05876, allocations: 0 / 420.7 MB, free: 6.977 MB / 394.7 MB Notification: Performance of Templates: time 0.01634/0.0751, allocations: 9.546 MB / 430.3 MB, free: 13.53 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.5457816123962402]