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.001028/0.001028, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.000908/0.000908, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9736/0.9736, allocations: 177.1 MB / 205 MB, free: 5.566 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.2561/0.2561, allocations: 34.25 MB / 295.7 MB, free: 0.6875 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 1.583e-06/1.583e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.338e-05, allocations: 6.312 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008095/0.008118, allocations: 6.373 MB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.01379, allocations: 2.185 MB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.0147, allocations: 20 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.01752, allocations: 1.618 MB / 388.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.01902, allocations: 0.7301 MB / 389 MB, free: 7.637 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.01994, allocations: 0.5755 MB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.02118, allocations: 1.221 MB / 390.8 MB, free: 5.836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.02231, allocations: 0.8442 MB / 391.6 MB, free: 4.969 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008014/0.02311, allocations: 0.7327 MB / 392.3 MB, free: 4.234 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.02363, allocations: 0.4947 MB / 392.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.02377, allocations: 108 kB / 392.9 MB, free: 3.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.02422, allocations: 283.6 kB / 393.2 MB, free: 3.355 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.02438, allocations: 270.9 kB / 393.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.02469, allocations: 387 kB / 393.9 MB, free: 2.711 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.02572, allocations: 1 MB / 394.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.02572, allocations: 0 / 394.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02572, allocations: 0 / 394.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.02574, allocations: 0 / 394.9 MB, free: 1.707 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.002445/0.02818, allocations: 1.709 MB / 396.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.02822, allocations: 8.031 kB / 396.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/0.03253, allocations: 1.397 MB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.03318, allocations: 490.3 kB / 398.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.03324, allocations: 86.7 kB / 398.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.03336, allocations: 120.3 kB / 398.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.03482, allocations: 1.139 MB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.03485, allocations: 4.188 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.03493, allocations: 48.38 kB / 399.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.03496, allocations: 31.94 kB / 399.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.03604, allocations: 0.7551 MB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.04005, allocations: 3.675 MB / 404.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.04148, allocations: 1.021 MB / 405.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.04176, allocations: 229 kB / 405.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.04183, allocations: 31.97 kB / 405.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.04187, allocations: 54.14 kB / 405.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.04187, allocations: 4 kB / 405.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001242/0.04312, allocations: 0.6908 MB / 406.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.04323, allocations: 243.3 kB / 406.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.04357, allocations: 466.3 kB / 407 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.04361, allocations: 37.7 kB / 407.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.04383, allocations: 0.526 MB / 407.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.04399, allocations: 305.4 kB / 407.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.04419, allocations: 204.5 kB / 408.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.04437, allocations: 0.5472 MB / 408.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.04464, allocations: 162.5 kB / 408.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.0451, allocations: 0.6101 MB / 409.4 MB, free: 2.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.04591, allocations: 0.7594 MB / 410.2 MB, free: 1.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.04592, allocations: 11.94 kB / 410.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001075/0.047, allocations: 0.8189 MB / 411 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.04702, allocations: 8 kB / 411 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.04703, allocations: 8 kB / 411 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.04714, allocations: 31.67 kB / 411 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.04769, allocations: 280.2 kB / 411.3 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.04771, allocations: 15.94 kB / 411.3 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.04806, allocations: 115.3 kB / 411.4 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.04811, allocations: 47.98 kB / 411.5 MB, free: 236 kB / 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.0002258/0.04834, allocations: 228.2 kB / 411.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.04849, allocations: 91.62 kB / 411.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009388/0.04943, allocations: 0.6871 MB / 412.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.04944, allocations: 12 kB / 412.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.04945, allocations: 0 / 412.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.04946, allocations: 15.92 kB / 412.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.05156, allocations: 1.845 MB / 414.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.05157, allocations: 4 kB / 414.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.05221, allocations: 195.8 kB / 414.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-05/0.05229, allocations: 31.66 kB / 414.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.05234, allocations: 23.98 kB / 414.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.05235, allocations: 7.938 kB / 414.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.05236, allocations: 11.94 kB / 414.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.05407, allocations: 1.497 MB / 416.1 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.05414, allocations: 63.47 kB / 416.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-05/0.05424, allocations: 27.88 kB / 416.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.05474, allocations: 43.97 kB / 416.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.0549, allocations: 71.86 kB / 416.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.05495, allocations: 27.98 kB / 416.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.05523, allocations: 295 kB / 416.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05523, allocations: 4 kB / 416.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001081/0.05631, allocations: 307.2 kB / 416.9 MB, free: 10.67 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.0002793/0.05659, allocations: 151 kB / 417.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.05766, allocations: 0.5786 MB / 417.7 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.05766, allocations: 4.25 kB / 417.7 MB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.05811, allocations: 301.3 kB / 418 MB, free: 9.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.05901, allocations: 117.3 kB / 418.1 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.06166, allocations: 1.561 MB / 419.6 MB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.06184, allocations: 177.8 kB / 419.8 MB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004069/0.06225, allocations: 125.5 kB / 419.9 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.06249, allocations: 84.45 kB / 420 MB, free: 7.484 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06249, allocations: 0 / 420 MB, free: 7.484 MB / 394.7 MB Notification: Performance of Templates: time 0.01727/0.07977, allocations: 10.31 MB / 430.3 MB, free: 13.28 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.6041381238028407]