Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001803/0.001803, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002202/0.002202, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.546/1.546, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.456e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01541/0.01544, allocations: 10.45 MB / 282.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.02418, allocations: 3.772 MB / 286.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.02596, allocations: 79.5 kB / 286.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.02884, allocations: 0.8583 MB / 287.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.03253, allocations: 1.079 MB / 288.5 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.0343, allocations: 0.5342 MB / 289 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1494/0.1837, allocations: 3.575 MB / 292.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.1866, allocations: 1.486 MB / 294.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/0.1916, allocations: 2.302 MB / 296.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.1954, allocations: 1.687 MB / 298 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.1965, allocations: 409.9 kB / 298.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.1987, allocations: 0.6268 MB / 299.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.2, allocations: 1.192 MB / 300.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.2026, allocations: 1.274 MB / 301.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006862/0.2094, allocations: 5.456 MB / 307 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2094, allocations: 0.5312 kB / 307 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2094, allocations: 1.469 kB / 307 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.2096, allocations: 0 / 307 MB, free: 10.97 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.008056/0.2177, allocations: 3.711 MB / 310.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2177, allocations: 13.83 kB / 310.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.2196, allocations: 0.6893 MB / 311.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.2228, allocations: 1.988 MB / 313.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.2229, allocations: 201.8 kB / 313.6 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/0.2232, allocations: 272.7 kB / 313.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.2286, allocations: 3.657 MB / 317.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.2286, allocations: 3.75 kB / 317.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.2289, allocations: 108 kB / 317.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.229, allocations: 126.4 kB / 317.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005157/0.2341, allocations: 2.956 MB / 320.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.2548, allocations: 9.735 MB / 330.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.2579, allocations: 1.499 MB / 331.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.2602, allocations: 1.113 MB / 333 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.2605, allocations: 57.91 kB / 333.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.2605, allocations: 47.88 kB / 333.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=130): time 4.328e-06/0.2605, allocations: 0 / 333.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.01812/0.2786, allocations: 7.062 MB / 340.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2787, allocations: 68.72 kB / 340.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/0.2821, allocations: 1.823 MB / 342.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.2822, allocations: 53.7 kB / 342.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.2837, allocations: 1.359 MB / 343.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006371/0.2844, allocations: 0.5235 MB / 344 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.285, allocations: 323.4 kB / 344.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2851, allocations: 305.1 kB / 344.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.2868, allocations: 0.8862 MB / 345.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.289, allocations: 1.368 MB / 346.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/0.2931, allocations: 2.383 MB / 349.3 MB, free: 2.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.2931, allocations: 4 kB / 349.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006123/0.2992, allocations: 2.967 MB / 352.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.2992, allocations: 16.06 kB / 352.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.2993, allocations: 16 kB / 352.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.3011, allocations: 0.5202 MB / 352.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3028, allocations: 428.1 kB / 353.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008083/0.3109, allocations: 5.799 MB / 359 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.3129, allocations: 127.8 kB / 359.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.3131, allocations: 76 kB / 359.2 MB, free: 8.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001782/0.3149, allocations: 0.8596 MB / 360.1 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006481/0.3156, allocations: 250.7 kB / 360.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/0.3207, allocations: 2.493 MB / 362.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-05/0.3208, allocations: 19.94 kB / 362.8 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.3208, allocations: 8 kB / 362.9 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.3208, allocations: 7.969 kB / 362.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.3313, allocations: 4.851 MB / 367.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.3313, allocations: 0 / 367.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.3326, allocations: 281.6 kB / 368 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/0.3345, allocations: 0.5442 MB / 368.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.3346, allocations: 39.97 kB / 368.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009692/0.3443, allocations: 7.266 MB / 375.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3443, allocations: 7.656 kB / 375.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008249/0.3526, allocations: 3.777 MB / 379.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.354, allocations: 394.5 kB / 380 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005576/0.3545, allocations: 39.11 kB / 380 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.3561, allocations: 101.4 kB / 380.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/0.3565, allocations: 128.6 kB / 380.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.3566, allocations: 43.98 kB / 380.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002358/0.3589, allocations: 1.239 MB / 381.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3589, allocations: 0 / 381.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002804/0.3618, allocations: 0.5858 MB / 382.1 MB, free: 0.9023 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.0005885/0.3623, allocations: 217.3 kB / 382.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.3674, allocations: 2.443 MB / 384.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.3674, allocations: 8.062 kB / 384.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003077/0.3704, allocations: 1.534 MB / 386.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.3737, allocations: 448.5 kB / 386.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.3851, allocations: 5.602 MB / 392.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/0.3874, allocations: 1.576 MB / 394 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001568/0.389, allocations: 455.5 kB / 394.4 MB, free: 4.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.3894, allocations: 132.5 kB / 394.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3894, allocations: 0 / 394.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of Templates: time 0.056/0.4454, allocations: 29.61 MB / 424.1 MB, free: 7.277 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.18927055504173]