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.000789/0.000789, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001879, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007259/0.0007259, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001643, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9316/0.9316, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09592/1.028, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2425/0.2425, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02271/0.2652, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.683e-06/1.683e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.035e-05, allocations: 3.297 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005038/0.005058, allocations: 6.304 MB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.008433, allocations: 2.283 MB / 301.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.008808, allocations: 20 kB / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.01046, allocations: 1.602 MB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.0117, allocations: 0.7222 MB / 303.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.01261, allocations: 0.5777 MB / 304.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.01374, allocations: 1.215 MB / 305.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.01475, allocations: 0.828 MB / 306.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.01563, allocations: 0.7708 MB / 306.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.01606, allocations: 0.4986 MB / 307.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01618, allocations: 104 kB / 307.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.01664, allocations: 295.6 kB / 307.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.01674, allocations: 183.4 kB / 308 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.01698, allocations: 311.4 kB / 308.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008028/0.01778, allocations: 0.93 MB / 309.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.0178, allocations: 3.938 kB / 309.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0178, allocations: 0 / 309.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.01782, allocations: 0 / 309.2 MB, free: 5.574 MB / 298.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.00223/0.02005, allocations: 1.921 MB / 311.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.02008, allocations: 8.031 kB / 311.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.02401, allocations: 1.569 MB / 312.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.02444, allocations: 307.8 kB / 313 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.02449, allocations: 86.7 kB / 313.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.0246, allocations: 116.4 kB / 313.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/0.02547, allocations: 1.023 MB / 314.3 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.02549, allocations: 8.125 kB / 314.3 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.02555, allocations: 52.38 kB / 314.3 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.02557, allocations: 31.94 kB / 314.4 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.02614, allocations: 0.5317 MB / 314.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.02903, allocations: 2.843 MB / 317.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.03003, allocations: 0.8557 MB / 318.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.03019, allocations: 165 kB / 318.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.03026, allocations: 39.89 kB / 318.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.03029, allocations: 47.36 kB / 318.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.054e-06/0.03029, allocations: 3.938 kB / 318.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.0006537/0.03094, allocations: 478.1 kB / 319.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.031, allocations: 195.9 kB / 319.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.0312, allocations: 374.9 kB / 319.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.03124, allocations: 41.7 kB / 319.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.03139, allocations: 468.3 kB / 320.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.03152, allocations: 301.4 kB / 320.7 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.03168, allocations: 190.8 kB / 320.8 MB, free: 9.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.03177, allocations: 374.6 kB / 321.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.0319, allocations: 106.6 kB / 321.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.03215, allocations: 463.8 kB / 321.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.03259, allocations: 0.5856 MB / 322.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.0326, allocations: 0 / 322.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0005634/0.03316, allocations: 0.5718 MB / 322.9 MB, free: 7.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.03318, allocations: 12 kB / 322.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.03319, allocations: 8 kB / 322.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.328e-05/0.03326, allocations: 28.84 kB / 323 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.03383, allocations: 323.9 kB / 323.3 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.03384, allocations: 15.94 kB / 323.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.03413, allocations: 119.2 kB / 323.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.03418, allocations: 35.98 kB / 323.5 MB, free: 6.691 MB / 314.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.0001503/0.03433, allocations: 177.5 kB / 323.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.03444, allocations: 71.94 kB / 323.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.03499, allocations: 0.5139 MB / 324.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.03499, allocations: 8 kB / 324.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.035, allocations: 4 kB / 324.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.03501, allocations: 7.969 kB / 324.2 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.03623, allocations: 1.21 MB / 325.4 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.03624, allocations: 0 / 325.4 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.03669, allocations: 235.7 kB / 325.7 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.03674, allocations: 63.44 kB / 325.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.536e-05/0.03678, allocations: 20.84 kB / 325.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.03681, allocations: 23.98 kB / 325.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.03682, allocations: 7.938 kB / 325.8 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03682, allocations: 4 kB / 325.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.03751, allocations: 1.013 MB / 326.8 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.03757, allocations: 20 kB / 326.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.03785, allocations: 39.97 kB / 326.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.03794, allocations: 79.73 kB / 326.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.03797, allocations: 23.98 kB / 327 MB, free: 3.105 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.03807, allocations: 152.7 kB / 327.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03807, allocations: 0 / 327.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.03862, allocations: 307.2 kB / 327.4 MB, free: 2.656 MB / 314.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.000175/0.0388, allocations: 141.8 kB / 327.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004914/0.03929, allocations: 472.4 kB / 328 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/0.03931, allocations: 16.5 kB / 328 MB, free: 2.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.03951, allocations: 242.5 kB / 328.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.04004, allocations: 182.2 kB / 328.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007007/0.04705, allocations: 1.525 MB / 330 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.04718, allocations: 178 kB / 330.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.04746, allocations: 121.5 kB / 330.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.04775, allocations: 203.3 kB / 330.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.04776, allocations: 0 / 330.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of Templates: time 0.01213/0.05989, allocations: 10.53 MB / 341 MB, free: 5.129 MB / 330.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 -ignoreHideResult -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.0277862725779414]