Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007575/0.0007575, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001904, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007112/0.0007112, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000924/0.001635, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9795/0.9795, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08401/1.064, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01941/0.2471, allocations: 13.24 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.119e-05, allocations: 2.969 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.004944/0.004965, allocations: 6.301 MB / 300.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.007418, allocations: 2.284 MB / 302.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.007639, allocations: 19.94 kB / 302.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.009128, allocations: 1.613 MB / 304.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.009937, allocations: 0.7144 MB / 305 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.01054, allocations: 0.5837 MB / 305.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009198/0.01146, allocations: 1.217 MB / 306.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000704/0.01216, allocations: 0.8203 MB / 307.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005811/0.01274, allocations: 0.7708 MB / 308.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.01312, allocations: 0.5025 MB / 308.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.01321, allocations: 108 kB / 309 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.01354, allocations: 295.6 kB / 309.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.01365, allocations: 183.4 kB / 309.5 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.01385, allocations: 311.4 kB / 309.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.01454, allocations: 0.9222 MB / 310.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.01456, allocations: 0 / 310.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01456, allocations: 0 / 310.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.01457, allocations: 3.938 kB / 310.7 MB, free: 4.387 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.0168, allocations: 1.913 MB / 312.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.01683, allocations: 12.92 kB / 312.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.02159, allocations: 1.565 MB / 314.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.02196, allocations: 315.8 kB / 314.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.02201, allocations: 82.7 kB / 314.6 MB, free: 440 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.02212, allocations: 116.4 kB / 314.7 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/0.023, allocations: 1.019 MB / 315.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.02303, allocations: 12.12 kB / 315.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.02309, allocations: 44.38 kB / 315.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.02311, allocations: 31.94 kB / 315.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.0237, allocations: 0.5512 MB / 316.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.02659, allocations: 2.82 MB / 319.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.02767, allocations: 0.8658 MB / 320.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.02782, allocations: 165 kB / 320.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.02789, allocations: 39.95 kB / 320.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.02792, allocations: 51.28 kB / 320.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.325e-06/0.02793, allocations: 0 / 320.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.001076/0.029, allocations: 474.3 kB / 320.8 MB, free: 10 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.02906, allocations: 195.9 kB / 321 MB, free: 9.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.02926, allocations: 375 kB / 321.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.0293, allocations: 37.7 kB / 321.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02945, allocations: 468.3 kB / 321.8 MB, free: 8.879 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.02959, allocations: 305.3 kB / 322.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.02975, allocations: 186.8 kB / 322.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.02984, allocations: 366.7 kB / 322.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.02997, allocations: 114.6 kB / 322.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.03023, allocations: 459.6 kB / 323.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.03071, allocations: 0.6257 MB / 323.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.03072, allocations: 0 / 323.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0005663/0.03128, allocations: 0.5785 MB / 324.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.0313, allocations: 12 kB / 324.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.03131, allocations: 8 kB / 324.5 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.908e-05/0.03138, allocations: 28.84 kB / 324.5 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.03196, allocations: 319.5 kB / 324.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.03197, allocations: 15.94 kB / 324.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.03228, allocations: 127.4 kB / 324.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.03232, allocations: 35.98 kB / 325 MB, free: 5.469 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.0001534/0.03247, allocations: 181.4 kB / 325.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.03258, allocations: 63.95 kB / 325.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.03315, allocations: 0.5075 MB / 325.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.03315, allocations: 8 kB / 325.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.03316, allocations: 4 kB / 325.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.03316, allocations: 7.922 kB / 325.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.03438, allocations: 1.203 MB / 326.9 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.03439, allocations: 0 / 326.9 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.03485, allocations: 235.7 kB / 327.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.0349, allocations: 71.41 kB / 327.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.798e-05/0.03494, allocations: 20.84 kB / 327.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.03498, allocations: 23.98 kB / 327.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.03498, allocations: 4 kB / 327.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.03498, allocations: 11.94 kB / 327.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.03599, allocations: 1.016 MB / 328.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.03605, allocations: 20 kB / 328.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.03634, allocations: 39.97 kB / 328.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.03643, allocations: 79.73 kB / 328.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.03646, allocations: 23.98 kB / 328.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.58e-05/0.03656, allocations: 144.7 kB / 328.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03656, allocations: 4 kB / 328.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005474/0.0371, allocations: 311.2 kB / 328.9 MB, free: 1.438 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.0001771/0.03728, allocations: 145.7 kB / 329.1 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.03776, allocations: 482.2 kB / 329.5 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/0.03778, allocations: 16.59 kB / 329.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.03805, allocations: 299.7 kB / 329.8 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.03876, allocations: 0.7562 MB / 330.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/0.04589, allocations: 1.515 MB / 332.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.04601, allocations: 174 kB / 332.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.04629, allocations: 129.4 kB / 332.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.0466, allocations: 199.3 kB / 332.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.0466, allocations: 3.938 kB / 332.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Templates: time 0.01265/0.05925, allocations: 10.23 MB / 342.8 MB, free: 3.453 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0000319397076964]