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.0009826/0.0009826, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001137/0.001137, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.9286/0.9286, allocations: 177.1 MB / 206 MB, free: 4.5 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.1391/0.1391, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.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.463e-06/1.463e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.38e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.004085/0.004099, allocations: 6.228 MB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.006975, allocations: 2.173 MB / 387.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.00737, allocations: 16 kB / 387.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.008895, allocations: 1.571 MB / 389.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.009905, allocations: 0.7301 MB / 390 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.0106, allocations: 0.5679 MB / 390.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.0114, allocations: 1.221 MB / 391.8 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/0.01225, allocations: 0.8366 MB / 392.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.01283, allocations: 0.7326 MB / 393.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.01319, allocations: 0.4947 MB / 393.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.216e-05/0.01328, allocations: 108 kB / 393.9 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.01363, allocations: 279.7 kB / 394.2 MB, free: 8.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.405e-05/0.01373, allocations: 270.9 kB / 394.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.01391, allocations: 394.9 kB / 394.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.01462, allocations: 0.9963 MB / 395.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01462, allocations: 0 / 395.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01462, allocations: 0 / 395.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.01464, allocations: 0 / 395.9 MB, free: 6.746 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.002072/0.01671, allocations: 1.709 MB / 397.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.01674, allocations: 12.03 kB / 397.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.02085, allocations: 1.405 MB / 399 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.02137, allocations: 486.4 kB / 399.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.02142, allocations: 86.7 kB / 399.5 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.02155, allocations: 120.3 kB / 399.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.02257, allocations: 1.049 MB / 400.7 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.0226, allocations: 4.188 kB / 400.7 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.02268, allocations: 44.38 kB / 400.8 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.02269, allocations: 31.94 kB / 400.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.02338, allocations: 0.633 MB / 401.4 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.02692, allocations: 3.57 MB / 405 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.02832, allocations: 0.9632 MB / 406 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.02852, allocations: 205.9 kB / 406.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.02859, allocations: 36.78 kB / 406.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.02862, allocations: 45.33 kB / 406.2 MB, free: 12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 4.178e-06/0.02863, allocations: 3.984 kB / 406.2 MB, free: 12 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.00108/0.02971, allocations: 0.6104 MB / 406.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.02978, allocations: 251.6 kB / 407.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.03005, allocations: 446.2 kB / 407.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.03009, allocations: 37.7 kB / 407.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.0303, allocations: 0.5337 MB / 408.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.03045, allocations: 305.3 kB / 408.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.03064, allocations: 204.5 kB / 408.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.03077, allocations: 0.5468 MB / 409.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.03095, allocations: 126.5 kB / 409.3 MB, free: 8.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.03158, allocations: 0.5826 MB / 409.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.03217, allocations: 0.7131 MB / 410.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.03218, allocations: 0 / 410.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008622/0.03304, allocations: 0.748 MB / 411.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.03306, allocations: 13.41 kB / 411.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.03307, allocations: 11.98 kB / 411.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.805e-05/0.03316, allocations: 31.67 kB / 411.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.03372, allocations: 267.6 kB / 411.6 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.03373, allocations: 23.91 kB / 411.7 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.03408, allocations: 115.3 kB / 411.8 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.03413, allocations: 48.03 kB / 411.8 MB, free: 5.953 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.0001905/0.03432, allocations: 220.2 kB / 412 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.03448, allocations: 95.56 kB / 412.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009001/0.03538, allocations: 0.6112 MB / 412.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.03539, allocations: 12 kB / 412.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03539, allocations: 4 kB / 412.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.0354, allocations: 7.969 kB / 412.8 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.03705, allocations: 1.683 MB / 414.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03705, allocations: 0 / 414.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.0375, allocations: 203.8 kB / 414.6 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.298e-05/0.03755, allocations: 23.67 kB / 414.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.03759, allocations: 23.98 kB / 414.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.0376, allocations: 11.94 kB / 414.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.0376, allocations: 0 / 414.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000983/0.03858, allocations: 1.418 MB / 416.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.03863, allocations: 71.41 kB / 416.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.0387, allocations: 16 kB / 416.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.03903, allocations: 51.97 kB / 416.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.03913, allocations: 71.8 kB / 416.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003112/0.03944, allocations: 27.98 kB / 416.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.03958, allocations: 271 kB / 416.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03958, allocations: 0 / 416.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006311/0.04022, allocations: 315.2 kB / 416.9 MB, free: 0.75 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.0002082/0.04042, allocations: 162 kB / 417.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.04105, allocations: 0.5223 MB / 417.6 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04105, allocations: 0 / 417.6 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.04133, allocations: 260.8 kB / 417.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.04193, allocations: 121.7 kB / 418 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.04367, allocations: 1.547 MB / 419.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.04379, allocations: 174 kB / 419.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.04408, allocations: 129.4 kB / 419.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.04442, allocations: 234.1 kB / 420.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04442, allocations: 0 / 420.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of Templates: time 0.01334/0.05775, allocations: 10.72 MB / 430.8 MB, free: 2.918 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 -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.301568710245192]