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.001455/0.001455, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001694/0.001694, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.343/1.343, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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.2086/0.2086, allocations: 46.93 MB / 361.5 MB, free: 4.184 MB / 286.1 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 0.002245/0.002245, allocations: 76.16 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2748, allocations: 66.09 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008031/0.2828, allocations: 6.609 MB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.2871, allocations: 2.275 MB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.2875, allocations: 20 kB / 0.5707 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.2908, allocations: 1.535 MB / 0.5722 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.2927, allocations: 0.7098 MB / 0.5729 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.294, allocations: 0.6033 MB / 0.5734 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2953, allocations: 1.174 MB / 0.5746 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.2966, allocations: 0.8624 MB / 0.5754 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.2973, allocations: 0.5098 MB / 0.5759 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.298, allocations: 0.6186 MB / 0.5765 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.2981, allocations: 104 kB / 0.5766 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.2987, allocations: 295.8 kB / 0.5769 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.2989, allocations: 263 kB / 0.5772 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.2994, allocations: 0.5558 MB / 0.5777 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3012, allocations: 1.521 MB / 0.5792 GB, free: 2.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3012, allocations: 11.98 kB / 0.5792 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3012, allocations: 0 / 0.5792 GB, free: 2.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3012, allocations: 0 / 0.5792 GB, free: 2.48 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.004125/0.3053, allocations: 1.612 MB / 0.5808 GB, free: 0.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3054, allocations: 8.031 kB / 0.5808 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007877/0.3132, allocations: 1.124 MB / 0.5819 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3143, allocations: 484.3 kB / 0.5823 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.3144, allocations: 86.7 kB / 0.5824 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.3147, allocations: 120.4 kB / 0.5825 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.3173, allocations: 1.348 MB / 0.5839 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.3174, allocations: 8 kB / 0.5839 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3175, allocations: 48 kB / 0.5839 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.3175, allocations: 28 kB / 0.5839 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.3203, allocations: 1.433 MB / 0.5853 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007239/0.3276, allocations: 4.027 MB / 0.5893 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.3304, allocations: 1.031 MB / 0.5903 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.3312, allocations: 392.8 kB / 0.5907 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.3313, allocations: 31.95 kB / 0.5907 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.3314, allocations: 50.5 kB / 0.5907 GB, free: 6.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/0.3314, allocations: 4 kB / 0.5907 GB, free: 6.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003088/0.3345, allocations: 1.164 MB / 0.5919 GB, free: 5.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.3346, allocations: 243.5 kB / 0.5921 GB, free: 4.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.3354, allocations: 0.5644 MB / 0.5927 GB, free: 4.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.3354, allocations: 41.7 kB / 0.5927 GB, free: 4.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.3358, allocations: 472.1 kB / 0.5931 GB, free: 3.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.336, allocations: 309.3 kB / 0.5934 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.3364, allocations: 198.8 kB / 0.5936 GB, free: 3.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3365, allocations: 378.7 kB / 0.594 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/0.3374, allocations: 386.4 kB / 0.5944 GB, free: 2.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.3385, allocations: 0.6603 MB / 0.595 GB, free: 1.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.3405, allocations: 1.07 MB / 0.5961 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3405, allocations: 4 kB / 0.5961 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002604/0.3431, allocations: 1.193 MB / 0.5972 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3432, allocations: 8.094 kB / 0.5972 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3432, allocations: 12 kB / 0.5972 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.3433, allocations: 44.78 kB / 0.5973 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.3445, allocations: 287.5 kB / 0.5976 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.3445, allocations: 19.88 kB / 0.5976 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/0.3454, allocations: 155 kB / 0.5977 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/0.3455, allocations: 55.97 kB / 0.5978 GB, free: 14.77 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.0004354/0.3459, allocations: 250.8 kB / 0.598 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.3462, allocations: 71.58 kB / 0.5981 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.3486, allocations: 1.031 MB / 0.5991 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.3487, allocations: 15.98 kB / 0.5991 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3487, allocations: 4 kB / 0.5991 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3487, allocations: 3.984 kB / 0.5991 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.353, allocations: 2.282 MB / 0.6013 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.353, allocations: 3.938 kB / 0.6013 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009427/0.354, allocations: 223.7 kB / 0.6016 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.3541, allocations: 24.84 kB / 0.6016 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.3541, allocations: 23.98 kB / 0.6016 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3541, allocations: 8 kB / 0.6016 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3541, allocations: 0 / 0.6016 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.3574, allocations: 1.839 MB / 0.6034 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3575, allocations: 87.36 kB / 0.6035 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.3576, allocations: 20 kB / 0.6035 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.3584, allocations: 67.94 kB / 0.6036 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3586, allocations: 67.86 kB / 0.6036 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.3586, allocations: 35.92 kB / 0.6037 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004933/0.3591, allocations: 402.8 kB / 0.6041 GB, free: 8.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3591, allocations: 4 kB / 0.6041 GB, free: 8.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001053/0.3602, allocations: 291.4 kB / 0.6043 GB, free: 7.949 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.0002751/0.3605, allocations: 155 kB / 0.6045 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3626, allocations: 0.9007 MB / 0.6054 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3627, allocations: 128 / 0.6054 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.3637, allocations: 447 kB / 0.6058 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009376/0.3646, allocations: 103.8 kB / 0.6059 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.3675, allocations: 1.794 MB / 0.6076 GB, free: 4.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.3682, allocations: 0.9802 MB / 0.6086 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.3685, allocations: 107.4 kB / 0.6087 GB, free: 3.402 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3685, allocations: 0 / 0.6087 GB, free: 3.402 MB / 446.1 MB Notification: Performance of Templates: time 0.02262/0.3911, allocations: 16.01 MB / 0.6243 GB, free: 3.355 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/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: 7.911719002993777]