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.001421/0.001421, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001449/0.001449, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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 1.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.066 MB / 186.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.2489/0.2489, allocations: 34.85 MB / 296.6 MB, free: 468 kB / 266.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.653e-06/1.653e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.938e-05, allocations: 6.938 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007474/0.007503, allocations: 6.233 MB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.01229, allocations: 2.256 MB / 334.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.01284, allocations: 20 kB / 334.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.01469, allocations: 1.629 MB / 336 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.01595, allocations: 0.7184 MB / 336.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.01678, allocations: 0.5864 MB / 337.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01794, allocations: 1.218 MB / 338.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/0.01891, allocations: 0.8958 MB / 339.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.01962, allocations: 0.7326 MB / 340.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.0201, allocations: 0.4987 MB / 340.7 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.02023, allocations: 108 kB / 340.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.02066, allocations: 287.6 kB / 341.1 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.02079, allocations: 270.9 kB / 341.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.02106, allocations: 391 kB / 341.7 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.02196, allocations: 1 MB / 342.7 MB, free: 6.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.02197, allocations: 0 / 342.7 MB, free: 6.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.02197, allocations: 0 / 342.7 MB, free: 6.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.02198, allocations: 0 / 342.7 MB, free: 6.258 MB / 314.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.002344/0.02433, allocations: 1.631 MB / 344.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.02436, allocations: 12.03 kB / 344.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.02884, allocations: 1.561 MB / 345.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.02941, allocations: 307.8 kB / 346.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.02946, allocations: 82.7 kB / 346.3 MB, free: 2.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.02959, allocations: 120.4 kB / 346.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.03061, allocations: 1.023 MB / 347.5 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.03065, allocations: 8.141 kB / 347.5 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.03071, allocations: 52.38 kB / 347.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.03073, allocations: 31.94 kB / 347.5 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.03143, allocations: 0.5395 MB / 348.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.03506, allocations: 2.812 MB / 350.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.03625, allocations: 0.8639 MB / 351.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.03643, allocations: 164.4 kB / 351.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.03651, allocations: 35.97 kB / 352 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.03655, allocations: 62.27 kB / 352 MB, free: 12.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 3.657e-06/0.03656, allocations: 3.984 kB / 352 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008039/0.03736, allocations: 472.3 kB / 352.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003072/0.03767, allocations: 243.3 kB / 352.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.03794, allocations: 375 kB / 353.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.03798, allocations: 41.7 kB / 353.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.03817, allocations: 464.4 kB / 353.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.03831, allocations: 305.4 kB / 353.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.0385, allocations: 186.8 kB / 354.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.03859, allocations: 370.7 kB / 354.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.03874, allocations: 102.6 kB / 354.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.03904, allocations: 471.6 kB / 355 MB, free: 9.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.03956, allocations: 0.59 MB / 355.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.03957, allocations: 4 kB / 355.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008307/0.0404, allocations: 0.5712 MB / 356.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.04042, allocations: 8 kB / 356.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.04043, allocations: 8 kB / 356.2 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.974e-05/0.04053, allocations: 36.78 kB / 356.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.04107, allocations: 263.6 kB / 356.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.04109, allocations: 16.34 kB / 356.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.04147, allocations: 127.2 kB / 356.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.04151, allocations: 39.98 kB / 356.6 MB, free: 7.68 MB / 330.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.0002152/0.04173, allocations: 177.5 kB / 356.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.04185, allocations: 63.95 kB / 356.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.04252, allocations: 0.5064 MB / 357.4 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.04253, allocations: 12 kB / 357.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.04253, allocations: 0 / 357.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.04254, allocations: 7.984 kB / 357.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.0441, allocations: 1.197 MB / 358.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.0441, allocations: 0 / 358.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.04453, allocations: 199.7 kB / 358.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.053e-05/0.04459, allocations: 16.84 kB / 358.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.04463, allocations: 23.98 kB / 358.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.04463, allocations: 4 kB / 358.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04464, allocations: 0 / 358.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.04579, allocations: 1.02 MB / 359.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.04587, allocations: 71.41 kB / 359.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.04594, allocations: 23.98 kB / 359.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.04626, allocations: 39.98 kB / 360 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.04636, allocations: 75.73 kB / 360.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.04639, allocations: 19.98 kB / 360.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.04651, allocations: 156.6 kB / 360.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04651, allocations: 0 / 360.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000736/0.04725, allocations: 307.2 kB / 360.5 MB, free: 3.715 MB / 330.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.0002123/0.04746, allocations: 145.3 kB / 360.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006105/0.04807, allocations: 465.2 kB / 361.1 MB, free: 3.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.04808, allocations: 8.5 kB / 361.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.04832, allocations: 247.8 kB / 361.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.04887, allocations: 107.5 kB / 361.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.05071, allocations: 1.46 MB / 362.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.05083, allocations: 174 kB / 363.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.05113, allocations: 125.4 kB / 363.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.05144, allocations: 195.3 kB / 363.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05145, allocations: 0 / 363.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of Templates: time 0.01374/0.06519, allocations: 10.24 MB / 373.7 MB, free: 6.656 MB / 346.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2596726836636662]