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.001352/0.001352, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 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.001345/0.001345, allocations: 203.4 kB / 21.4 MB, free: 1.668 MB / 14.72 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.542/1.542, allocations: 227.5 MB / 251.7 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] 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.3732/0.3732, allocations: 46.13 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 179] 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|iL|iLL|vC|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL|iLL|vC|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 89.48 kB / 490.2 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1803, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009046/0.1894, allocations: 6.566 MB / 0.5461 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00563/0.1951, allocations: 2.251 MB / 0.5483 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.1961, allocations: 20 kB / 0.5483 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.2003, allocations: 1.526 MB / 0.5498 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.2037, allocations: 0.7021 MB / 0.5505 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.2056, allocations: 0.5908 MB / 0.5511 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.2074, allocations: 1.178 MB / 0.5522 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.209, allocations: 0.9341 MB / 0.5531 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.2098, allocations: 0.506 MB / 0.5536 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007463/0.2105, allocations: 0.6185 MB / 0.5542 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.2107, allocations: 108 kB / 0.5543 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.2115, allocations: 283.8 kB / 0.5546 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.2117, allocations: 267 kB / 0.5548 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.2123, allocations: 0.5636 MB / 0.5554 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.2143, allocations: 1.506 MB / 0.5569 GB, free: 2.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2143, allocations: 4 kB / 0.5569 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2143, allocations: 0 / 0.5569 GB, free: 2.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.2143, allocations: 0 / 0.5569 GB, free: 2.543 MB / 414.1 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.004568/0.2189, allocations: 1.684 MB / 0.5585 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.219, allocations: 12.03 kB / 0.5585 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008133/0.2271, allocations: 1.132 MB / 0.5596 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2283, allocations: 0.5376 MB / 0.5602 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.2284, allocations: 86.7 kB / 0.5602 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.2286, allocations: 112.4 kB / 0.5604 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.2313, allocations: 1.352 MB / 0.5617 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.2314, allocations: 4 kB / 0.5617 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.2315, allocations: 48 kB / 0.5617 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.2315, allocations: 32 kB / 0.5618 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.2346, allocations: 1.433 MB / 0.5632 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008563/0.2431, allocations: 5.64 MB / 0.5687 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/0.2469, allocations: 2.15 MB / 0.5708 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.2478, allocations: 424.8 kB / 0.5712 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.2481, allocations: 190.2 kB / 0.5713 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.2481, allocations: 46.5 kB / 0.5714 GB, free: 2.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.228e-06/0.2481, allocations: 0 / 0.5714 GB, free: 2.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003381/0.2515, allocations: 1.243 MB / 0.5726 GB, free: 1.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.2517, allocations: 243.3 kB / 0.5728 GB, free: 1.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/0.2525, allocations: 0.5684 MB / 0.5734 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.2526, allocations: 41.7 kB / 0.5734 GB, free: 484 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.253, allocations: 472 kB / 0.5739 GB, free: 4 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.2533, allocations: 309.5 kB / 0.5742 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.2537, allocations: 198.8 kB / 0.5744 GB, free: 15.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.2539, allocations: 374.5 kB / 0.5747 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009401/0.2548, allocations: 386.4 kB / 0.5751 GB, free: 14.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.2561, allocations: 0.6603 MB / 0.5757 GB, free: 13.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.2582, allocations: 1.062 MB / 0.5768 GB, free: 12.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.2583, allocations: 4 kB / 0.5768 GB, free: 12.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002731/0.261, allocations: 1.2 MB / 0.5779 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.261, allocations: 8.75 kB / 0.578 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.2611, allocations: 8 kB / 0.578 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.2613, allocations: 44.83 kB / 0.578 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.2625, allocations: 283.5 kB / 0.5783 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/0.2625, allocations: 27.86 kB / 0.5783 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/0.2634, allocations: 155 kB / 0.5785 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/0.2635, allocations: 47.98 kB / 0.5785 GB, free: 11 MB / 446.1 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.0005032/0.264, allocations: 253.5 kB / 0.5787 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.2643, allocations: 71.56 kB / 0.5788 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.2668, allocations: 1.031 MB / 0.5798 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.2668, allocations: 12 kB / 0.5798 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2668, allocations: 0 / 0.5798 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.2669, allocations: 7.984 kB / 0.5798 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.2712, allocations: 2.322 MB / 0.5821 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2712, allocations: 0 / 0.5821 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/0.2722, allocations: 223.7 kB / 0.5823 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.2723, allocations: 28.84 kB / 0.5823 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.2724, allocations: 27.98 kB / 0.5824 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.2724, allocations: 7.984 kB / 0.5824 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2724, allocations: 0 / 0.5824 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.2758, allocations: 1.835 MB / 0.5842 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.276, allocations: 160.5 kB / 0.5843 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.2761, allocations: 27.94 kB / 0.5843 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.2769, allocations: 63.94 kB / 0.5844 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.2771, allocations: 75.77 kB / 0.5845 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.2772, allocations: 31.98 kB / 0.5845 GB, free: 4.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005341/0.2777, allocations: 398.8 kB / 0.5849 GB, free: 4.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2777, allocations: 3.938 kB / 0.5849 GB, free: 4.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001145/0.2789, allocations: 287.4 kB / 0.5852 GB, free: 4.047 MB / 446.1 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.0003496/0.2792, allocations: 159 kB / 0.5853 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.2817, allocations: 1.022 MB / 0.5863 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.2817, allocations: 0.8125 kB / 0.5863 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.2829, allocations: 0.544 MB / 0.5869 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.2838, allocations: 118.2 kB / 0.587 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.287, allocations: 1.741 MB / 0.5887 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.2877, allocations: 0.9762 MB / 0.5896 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005046/0.2882, allocations: 138.2 kB / 0.5897 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.2885, allocations: 87.39 kB / 0.5898 GB, free: 15.15 MB / 462.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2885, allocations: 0 / 0.5898 GB, free: 15.15 MB / 462.1 MB Notification: Performance of Templates: time 0.01917/0.3076, allocations: 9.956 MB / 0.5996 GB, free: 5.227 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.195254944264889]