Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001375/0.001375, allocations: 82.7 kB / 22 MB, free: 5.18 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.001536/0.001536, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 158.6 MB / 187 MB, free: 6.473 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 58.42 kB / 299.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2185, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01267/0.2312, allocations: 8.954 MB / 357.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007432/0.2386, allocations: 3.12 MB / 360.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.2403, allocations: 63.5 kB / 360.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.2424, allocations: 0.6947 MB / 361.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.2451, allocations: 0.8855 MB / 362.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.2461, allocations: 419.4 kB / 362.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.2499, allocations: 2.965 MB / 365.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.2519, allocations: 1.313 MB / 366.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.2539, allocations: 1.378 MB / 368.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.2567, allocations: 1.654 MB / 370 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005396/0.2572, allocations: 356 kB / 370.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.2582, allocations: 447.8 kB / 370.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.2593, allocations: 1.036 MB / 371.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2609, allocations: 1.299 MB / 373.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.2664, allocations: 4.716 MB / 377.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2664, allocations: 0 / 377.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2664, allocations: 0 / 377.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.817e-05/0.2665, allocations: 0 / 377.8 MB, free: 2.055 MB / 334.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.006954/0.2734, allocations: 3.26 MB / 381.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2735, allocations: 15.98 kB / 381.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/0.2743, allocations: 338.9 kB / 381.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.2775, allocations: 1.596 MB / 383 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.2777, allocations: 180.8 kB / 383.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.2781, allocations: 235.9 kB / 383.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00568/0.2838, allocations: 3.241 MB / 386.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.2838, allocations: 0 / 386.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.2841, allocations: 92 kB / 386.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.2842, allocations: 108.5 kB / 386.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004917/0.2891, allocations: 2.696 MB / 389.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.3041, allocations: 8.405 MB / 398 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.3068, allocations: 1.407 MB / 399.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/0.3089, allocations: 1.048 MB / 400.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.3092, allocations: 52.95 kB / 400.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3092, allocations: 43.56 kB / 400.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.246e-06/0.3092, allocations: 0 / 400.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01551/0.3247, allocations: 6.265 MB / 406.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.3248, allocations: 64.72 kB / 406.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.3276, allocations: 1.607 MB / 408.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.3277, allocations: 49.7 kB / 408.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.3287, allocations: 1.193 MB / 409.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.3292, allocations: 476 kB / 410.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005173/0.3297, allocations: 287.5 kB / 410.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3299, allocations: 309.1 kB / 410.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.3313, allocations: 0.7925 MB / 411.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.3331, allocations: 1.206 MB / 412.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/0.3365, allocations: 2.095 MB / 414.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3365, allocations: 3.938 kB / 414.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005051/0.3415, allocations: 2.577 MB / 417.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.3416, allocations: 15.98 kB / 417.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.3416, allocations: 12 kB / 417.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.3427, allocations: 419.3 kB / 417.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.3441, allocations: 363.4 kB / 418.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/0.3519, allocations: 6.636 MB / 424.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.3533, allocations: 107.9 kB / 424.9 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.3535, allocations: 63.98 kB / 425 MB, free: 1.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.001528/0.355, allocations: 0.8017 MB / 425.8 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.3555, allocations: 178.9 kB / 426 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.3599, allocations: 2.283 MB / 428.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.3599, allocations: 12 kB / 428.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3599, allocations: 4 kB / 428.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.36, allocations: 7.969 kB / 428.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009258/0.3692, allocations: 4.429 MB / 432.7 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.3692, allocations: 4 kB / 432.7 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.3703, allocations: 227.7 kB / 432.9 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.3715, allocations: 455.1 kB / 433.4 MB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.3716, allocations: 39.97 kB / 433.4 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/0.3806, allocations: 8.08 MB / 441.5 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3806, allocations: 8.031 kB / 441.5 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/0.3866, allocations: 3.434 MB / 444.9 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.3876, allocations: 350.7 kB / 445.3 MB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.388, allocations: 35.98 kB / 445.3 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.389, allocations: 92.02 kB / 445.4 MB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.3893, allocations: 132.6 kB / 445.5 MB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.3894, allocations: 40 kB / 445.6 MB, free: 12.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.3912, allocations: 1.089 MB / 446.7 MB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3912, allocations: 0 / 446.7 MB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001786/0.393, allocations: 0.4922 MB / 447.2 MB, free: 10.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.3934, allocations: 202.7 kB / 447.4 MB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004177/0.3976, allocations: 2.316 MB / 449.7 MB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3976, allocations: 4.188 kB / 449.7 MB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.4003, allocations: 1.555 MB / 451.2 MB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.4024, allocations: 417.1 kB / 451.6 MB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/0.4109, allocations: 5.094 MB / 456.7 MB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/0.4129, allocations: 1.43 MB / 458.2 MB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001204/0.4141, allocations: 430.3 kB / 458.6 MB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.4146, allocations: 124.5 kB / 458.7 MB, free: 14.99 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4146, allocations: 0 / 458.7 MB, free: 14.99 MB / 430.1 MB Notification: Performance of Templates: time 0.2005/0.615, allocations: 26.88 MB / 485.6 MB, free: 104.2 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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: 5.299221016000956]