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.001325/0.001325, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001408/0.001408, allocations: 160 kB / 24.99 MB, free: 7.773 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 0.9317/0.9317, allocations: 177 MB / 205.2 MB, free: 5.602 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.2658/0.2658, allocations: 34.86 MB / 296.6 MB, free: 0.5586 MB / 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.813e-06/1.813e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.337e-05, allocations: 5.266 kB / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.00551/0.005544, allocations: 6.355 MB / 385.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.008515, allocations: 2.181 MB / 387.3 MB, free: 9.844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.008839, allocations: 20 kB / 387.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.01055, allocations: 1.606 MB / 388.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.01157, allocations: 0.7301 MB / 389.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.01229, allocations: 0.5756 MB / 390.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.0131, allocations: 1.213 MB / 391.4 MB, free: 5.684 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.01394, allocations: 0.8481 MB / 392.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.0145, allocations: 0.7326 MB / 393 MB, free: 4.074 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.01489, allocations: 0.4909 MB / 393.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.01503, allocations: 108 kB / 393.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.01536, allocations: 283.6 kB / 393.9 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.01549, allocations: 270.9 kB / 394.1 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.01574, allocations: 387 kB / 394.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007806/0.01652, allocations: 1.004 MB / 395.5 MB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01652, allocations: 0 / 395.5 MB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01652, allocations: 0 / 395.5 MB, free: 1.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.01653, allocations: 0 / 395.5 MB, free: 1.547 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.002271/0.0188, allocations: 1.701 MB / 397.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.01883, allocations: 11.97 kB / 397.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.02324, allocations: 1.405 MB / 398.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.02374, allocations: 482.4 kB / 399.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.02379, allocations: 86.7 kB / 399.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.02392, allocations: 124.3 kB / 399.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.02522, allocations: 1.135 MB / 400.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.02525, allocations: 4.188 kB / 400.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.02533, allocations: 56.31 kB / 400.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.02535, allocations: 31.94 kB / 400.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.0264, allocations: 0.7629 MB / 401.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.02997, allocations: 3.668 MB / 405 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.03135, allocations: 1.014 MB / 406 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.03162, allocations: 222 kB / 406.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/0.03169, allocations: 39.97 kB / 406.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.03172, allocations: 54.08 kB / 406.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.154e-06/0.03172, allocations: 0 / 406.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001125/0.03285, allocations: 0.6897 MB / 407 MB, free: 5.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.03292, allocations: 247.3 kB / 407.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.03323, allocations: 458.3 kB / 407.7 MB, free: 4.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.03327, allocations: 41.7 kB / 407.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.03348, allocations: 0.5299 MB / 408.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.03363, allocations: 305.4 kB / 408.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.03382, allocations: 200.5 kB / 408.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.03396, allocations: 0.543 MB / 409.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.03424, allocations: 162.8 kB / 409.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.03469, allocations: 0.614 MB / 410 MB, free: 2.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.03543, allocations: 0.7671 MB / 410.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.03544, allocations: 3.938 kB / 410.8 MB, free: 1.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00105/0.03649, allocations: 0.8198 MB / 411.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.0365, allocations: 8 kB / 411.6 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.03651, allocations: 12 kB / 411.7 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.824e-05/0.03661, allocations: 31.67 kB / 411.7 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.03717, allocations: 272 kB / 412 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.03718, allocations: 23.94 kB / 412 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.03753, allocations: 119.3 kB / 412.1 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.03758, allocations: 47.98 kB / 412.1 MB, free: 80 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.0002058/0.03778, allocations: 228.1 kB / 412.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.03795, allocations: 95.5 kB / 412.5 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009169/0.03887, allocations: 0.6741 MB / 413.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.03888, allocations: 12 kB / 413.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.03888, allocations: 4 kB / 413.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.03889, allocations: 7.922 kB / 413.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.04075, allocations: 1.852 MB / 415 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.04075, allocations: 4 kB / 415 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.04121, allocations: 195.8 kB / 415.2 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.343e-05/0.04126, allocations: 31.66 kB / 415.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.0413, allocations: 23.98 kB / 415.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.04131, allocations: 11.94 kB / 415.3 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.04131, allocations: 3.938 kB / 415.3 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.04251, allocations: 1.502 MB / 416.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.04256, allocations: 59.48 kB / 416.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.04264, allocations: 27.88 kB / 416.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.04298, allocations: 39.97 kB / 416.9 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.04309, allocations: 75.86 kB / 417 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.04312, allocations: 31.98 kB / 417 MB, free: 11.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.04331, allocations: 295 kB / 417.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04331, allocations: 0 / 417.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.04392, allocations: 303.2 kB / 417.6 MB, free: 10.52 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.0001813/0.0441, allocations: 155 kB / 417.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007836/0.04489, allocations: 0.5747 MB / 418.3 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04489, allocations: 0.5625 kB / 418.3 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.04522, allocations: 301.4 kB / 418.6 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.04582, allocations: 117.4 kB / 418.7 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.04768, allocations: 1.571 MB / 420.3 MB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.04781, allocations: 173.8 kB / 420.5 MB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.04811, allocations: 125.5 kB / 420.6 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.04827, allocations: 88.45 kB / 420.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.04828, allocations: 0 / 420.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01138/0.05966, allocations: 9.547 MB / 430.2 MB, free: 13.89 MB / 410.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.316938539966941]