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.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001066/0.001066, allocations: 166.3 kB / 24.99 MB, free: 8.285 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 1.107/1.107, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2806/0.2806, allocations: 34.26 MB / 296 MB, free: 0.7656 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 2.084e-06/2.084e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.755e-05, allocations: 6.25 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007138/0.007176, allocations: 6.343 MB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.01126, allocations: 2.185 MB / 386.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.01177, allocations: 20 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.01381, allocations: 1.61 MB / 388.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.0151, allocations: 0.7262 MB / 388.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.01602, allocations: 0.5826 MB / 389.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009192/0.01694, allocations: 1.209 MB / 390.7 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.01805, allocations: 0.852 MB / 391.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007459/0.0188, allocations: 0.7211 MB / 392.3 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.01925, allocations: 0.5025 MB / 392.8 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.01936, allocations: 104 kB / 392.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007502/0.02011, allocations: 283.6 kB / 393.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.02025, allocations: 266.9 kB / 393.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.02052, allocations: 395 kB / 393.8 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.02144, allocations: 0.9962 MB / 394.8 MB, free: 2.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.02145, allocations: 3.984 kB / 394.8 MB, free: 2.113 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02145, allocations: 7.938 kB / 394.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.02146, allocations: 0 / 394.8 MB, free: 2.105 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.002433/0.02389, allocations: 1.693 MB / 396.5 MB, free: 380 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.02393, allocations: 12.03 kB / 396.5 MB, free: 368 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.02861, allocations: 1.401 MB / 397.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.02921, allocations: 486.4 kB / 398.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.02927, allocations: 86.64 kB / 398.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.0294, allocations: 124.3 kB / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.03072, allocations: 1.139 MB / 399.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.03075, allocations: 192 / 399.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.03083, allocations: 48.38 kB / 399.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.03085, allocations: 31.94 kB / 399.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.03207, allocations: 0.759 MB / 400.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.03576, allocations: 3.671 MB / 404.2 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.03713, allocations: 1.019 MB / 405.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.0374, allocations: 226 kB / 405.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.03746, allocations: 35.97 kB / 405.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.0375, allocations: 62.12 kB / 405.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/0.0375, allocations: 0 / 405.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001191/0.03869, allocations: 0.6839 MB / 406.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.03877, allocations: 243.3 kB / 406.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.03909, allocations: 462.3 kB / 406.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.03913, allocations: 41.7 kB / 407 MB, free: 5.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.03949, allocations: 0.526 MB / 407.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.03966, allocations: 309.6 kB / 407.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.03986, allocations: 212.5 kB / 408 MB, free: 4.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.04001, allocations: 0.5313 MB / 408.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.04028, allocations: 166.5 kB / 408.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.04074, allocations: 0.614 MB / 409.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.04148, allocations: 0.7673 MB / 410.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.04148, allocations: 7.938 kB / 410.1 MB, free: 1.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001033/0.04251, allocations: 0.8069 MB / 410.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.04254, allocations: 12 kB / 410.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.04255, allocations: 8.875 kB / 410.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.04268, allocations: 39.66 kB / 411 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.04323, allocations: 271.6 kB / 411.2 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.04325, allocations: 19.92 kB / 411.3 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.0436, allocations: 111.3 kB / 411.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.04366, allocations: 51.97 kB / 411.4 MB, free: 0.6406 MB / 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.0002107/0.04387, allocations: 228.1 kB / 411.6 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.04402, allocations: 91.62 kB / 411.7 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009407/0.04496, allocations: 0.6806 MB / 412.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.04497, allocations: 8 kB / 412.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.04498, allocations: 8 kB / 412.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.04499, allocations: 11.91 kB / 412.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.04709, allocations: 1.847 MB / 414.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.04709, allocations: 0 / 414.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.04754, allocations: 203.7 kB / 414.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.645e-05/0.04761, allocations: 23.67 kB / 414.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.04765, allocations: 27.98 kB / 414.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.04765, allocations: 8 kB / 414.5 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04766, allocations: 7.875 kB / 414.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.04891, allocations: 1.5 MB / 416 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.04896, allocations: 59.48 kB / 416.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.04903, allocations: 31.86 kB / 416.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.04936, allocations: 39.98 kB / 416.2 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.04948, allocations: 71.86 kB / 416.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.04952, allocations: 35.98 kB / 416.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.04971, allocations: 295 kB / 416.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04971, allocations: 0 / 416.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007186/0.05043, allocations: 303.2 kB / 416.9 MB, free: 11.09 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.0002528/0.05068, allocations: 157.8 kB / 417 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.05154, allocations: 0.5785 MB / 417.6 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.05154, allocations: 0 / 417.6 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.0519, allocations: 297.3 kB / 417.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.05254, allocations: 126.1 kB / 418 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.05458, allocations: 1.563 MB / 419.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.05473, allocations: 173.8 kB / 419.7 MB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.05502, allocations: 129.4 kB / 419.9 MB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.0552, allocations: 80.47 kB / 419.9 MB, free: 7.902 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.0552, allocations: 0 / 419.9 MB, free: 7.902 MB / 394.7 MB Notification: Performance of Templates: time 0.01283/0.06803, allocations: 9.542 MB / 429.5 MB, free: 14.46 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.7882536540273577]