Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 205.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2208, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01247/0.2333, allocations: 9.059 MB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.2388, allocations: 3.128 MB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.2394, allocations: 75.5 kB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.2409, allocations: 0.6944 MB / 445.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.2428, allocations: 0.8894 MB / 446.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.2435, allocations: 431.3 kB / 446.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.2465, allocations: 2.992 MB / 449.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.2484, allocations: 1.376 MB / 451 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.25, allocations: 1.394 MB / 452.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.2521, allocations: 1.736 MB / 454.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.2525, allocations: 356 kB / 454.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007985/0.2533, allocations: 467.8 kB / 454.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.2544, allocations: 1.044 MB / 456 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.2559, allocations: 1.291 MB / 457.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004824/0.2607, allocations: 4.753 MB / 462 MB, free: 8.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2607, allocations: 0 / 462 MB, free: 8.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2607, allocations: 0 / 462 MB, free: 8.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.899e-05/0.2607, allocations: 0 / 462 MB, free: 8.898 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006123/0.2669, allocations: 3.276 MB / 465.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2669, allocations: 8.031 kB / 465.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.268, allocations: 378.8 kB / 465.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.2714, allocations: 1.709 MB / 467.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.2715, allocations: 180.8 kB / 467.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.2719, allocations: 239.9 kB / 467.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/0.2773, allocations: 3.233 MB / 471 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.296e-05/0.2774, allocations: 7.953 kB / 471 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.2776, allocations: 96 kB / 471.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.2778, allocations: 112.6 kB / 471.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004785/0.2825, allocations: 2.684 MB / 473.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.2972, allocations: 8.408 MB / 482.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.2997, allocations: 1.4 MB / 483.7 MB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/0.3017, allocations: 1.043 MB / 484.8 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.302, allocations: 52.97 kB / 484.8 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.302, allocations: 47.5 kB / 484.9 MB, free: 1.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.286e-06/0.302, allocations: 0 / 484.9 MB, free: 1.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01444/0.3165, allocations: 6.338 MB / 491.2 MB, free: 11.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3165, allocations: 68.66 kB / 491.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.3188, allocations: 1.615 MB / 492.9 MB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3189, allocations: 53.7 kB / 492.9 MB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009747/0.3199, allocations: 1.193 MB / 494.1 MB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.3203, allocations: 472 kB / 494.6 MB, free: 7.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/0.3208, allocations: 291.5 kB / 494.9 MB, free: 7.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3209, allocations: 309.1 kB / 495.2 MB, free: 7.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.3223, allocations: 0.7925 MB / 496 MB, free: 6.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.324, allocations: 1.205 MB / 497.2 MB, free: 4.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/0.3272, allocations: 2.094 MB / 499.3 MB, free: 2.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.3272, allocations: 4 kB / 499.3 MB, free: 2.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005409/0.3326, allocations: 2.581 MB / 0.4901 GB, free: 108 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3327, allocations: 12.34 kB / 0.4901 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.3327, allocations: 19.98 kB / 0.4901 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.3342, allocations: 415.1 kB / 0.4905 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.3364, allocations: 367.4 kB / 0.4909 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007957/0.3443, allocations: 6.65 MB / 0.4974 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3455, allocations: 107.8 kB / 0.4975 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3456, allocations: 64 kB / 0.4975 GB, free: 8.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.3469, allocations: 0.7998 MB / 0.4983 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.3472, allocations: 182.8 kB / 0.4985 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.3514, allocations: 2.283 MB / 0.5007 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3514, allocations: 3.984 kB / 0.5007 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3514, allocations: 0 / 0.5007 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009257/0.3524, allocations: 358.7 kB / 0.501 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.3526, allocations: 24 kB / 0.5011 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.3535, allocations: 99.81 kB / 0.5012 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.3537, allocations: 125.1 kB / 0.5013 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005009/0.3587, allocations: 2.347 MB / 0.5036 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004869/0.3636, allocations: 3.022 MB / 0.5065 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00129/0.3649, allocations: 0.8065 MB / 0.5073 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001645/0.3665, allocations: 1.097 MB / 0.5084 GB, free: 12.97 MB / 430.1 MB Notification: Performance of Backend: time 3.4e-07/0.3665, allocations: 0 / 0.5084 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.3702, allocations: 1.765 MB / 0.5101 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 0.01028/0.3804, allocations: 5.281 MB / 0.5153 GB, free: 5.824 MB / 430.1 MB Notification: Performance of Templates: time 0.2168/0.5972, allocations: 33.35 MB / 0.5478 GB, free: 95.59 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.417385018998175]