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.00147/0.00147, allocations: 84.84 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00162/0.00162, allocations: 169.2 kB / 23.95 MB, free: 4.172 MB / 14.72 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.619/1.619, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2179/0.2179, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.333e-06/1.333e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.746e-05, allocations: 2.281 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.1928/0.1929, allocations: 5.793 MB / 448.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.1965, allocations: 2.127 MB / 450.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.1971, allocations: 22.38 kB / 450.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.2004, allocations: 1.496 MB / 452.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2029, allocations: 0.7156 MB / 452.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2044, allocations: 0.5755 MB / 453.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2059, allocations: 1.226 MB / 454.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.2071, allocations: 0.8399 MB / 455.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009868/0.2081, allocations: 0.7235 MB / 456.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.2087, allocations: 491.8 kB / 456.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.2089, allocations: 105.8 kB / 456.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/0.2096, allocations: 277.3 kB / 457 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.2098, allocations: 266.2 kB / 457.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.2102, allocations: 397.4 kB / 457.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.2126, allocations: 1.546 MB / 459.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2126, allocations: 0 / 459.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2126, allocations: 0 / 459.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.87e-05/0.2127, allocations: 1.125 kB / 459.2 MB, free: 11.45 MB / 366.1 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.007089/0.2198, allocations: 1.603 MB / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.2198, allocations: 10.5 kB / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.2342, allocations: 1.117 MB / 462 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.2362, allocations: 485 kB / 462.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.2364, allocations: 86.66 kB / 462.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.2367, allocations: 124.5 kB / 462.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/0.2405, allocations: 1.442 MB / 464.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.2406, allocations: 15.94 kB / 464.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.2407, allocations: 47.48 kB / 464.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.2408, allocations: 32.25 kB / 464.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.2447, allocations: 1.41 MB / 465.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006223/0.2509, allocations: 3.518 MB / 469.1 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.2538, allocations: 1.003 MB / 470.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/0.2546, allocations: 388.7 kB / 470.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.2547, allocations: 35.16 kB / 470.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.2548, allocations: 53.56 kB / 470.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.416e-06/0.2548, allocations: 0 / 470.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00318/0.258, allocations: 1.162 MB / 471.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.258, allocations: 249.8 kB / 472 MB, free: 4.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.2585, allocations: 447.9 kB / 472.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.2586, allocations: 38.27 kB / 472.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.2587, allocations: 493.8 kB / 472.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.2589, allocations: 300.4 kB / 473.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.2592, allocations: 201.6 kB / 473.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.2593, allocations: 367.2 kB / 473.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.2602, allocations: 377.9 kB / 474.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.2613, allocations: 0.7193 MB / 474.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.2632, allocations: 1.052 MB / 475.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2632, allocations: 6.719 kB / 475.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002724/0.2659, allocations: 1.189 MB / 477.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.2659, allocations: 11.09 kB / 477.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2659, allocations: 10.7 kB / 477.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.2661, allocations: 35.84 kB / 477.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2673, allocations: 291.2 kB / 477.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.2673, allocations: 16.56 kB / 477.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/0.2683, allocations: 140.8 kB / 477.6 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.2684, allocations: 52.41 kB / 477.7 MB, free: 1.117 MB / 366.1 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.0004407/0.2688, allocations: 260.4 kB / 477.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.269, allocations: 60.72 kB / 478 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.2713, allocations: 1.022 MB / 479 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2713, allocations: 11.03 kB / 479 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2713, allocations: 2.812 kB / 479 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.2714, allocations: 11.91 kB / 479 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.2756, allocations: 1.991 MB / 481 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2756, allocations: 2.469 kB / 481 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.2767, allocations: 223.7 kB / 481.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.2768, allocations: 25.69 kB / 481.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.2769, allocations: 24.02 kB / 481.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.2769, allocations: 4.875 kB / 481.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.2769, allocations: 5.75 kB / 481.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.2807, allocations: 1.822 MB / 483.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.2809, allocations: 78.72 kB / 483.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.281, allocations: 19.94 kB / 483.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.2818, allocations: 63.92 kB / 483.3 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.282, allocations: 75.81 kB / 483.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.2821, allocations: 27.98 kB / 483.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.2825, allocations: 299.1 kB / 483.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2825, allocations: 4 kB / 483.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001398/0.2839, allocations: 311.2 kB / 484 MB, free: 12.29 MB / 382.1 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.0004554/0.2844, allocations: 151.1 kB / 484.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.2869, allocations: 0.912 MB / 485 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2869, allocations: 0 / 485 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.2882, allocations: 455 kB / 485.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.2892, allocations: 96.72 kB / 485.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.2926, allocations: 1.628 MB / 487.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.293, allocations: 397.5 kB / 487.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005641/0.2936, allocations: 121.5 kB / 487.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.2939, allocations: 84.45 kB / 487.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2939, allocations: 4 kB / 487.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of Templates: time 0.02002/0.3139, allocations: 9.466 MB / 497.3 MB, free: 15.03 MB / 398.1 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.689949970692396]