Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.001352/0.001352, allocations: 82.55 kB / 21.99 MB, free: 4.75 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.001406/0.001406, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.324/1.324, allocations: 158.6 MB / 187 MB, free: 6.195 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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [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.001918/0.001918, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2151, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01339/0.2285, allocations: 10.04 MB / 358.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.2355, allocations: 3.691 MB / 362.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2367, allocations: 71.5 kB / 362.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.2387, allocations: 0.8313 MB / 363.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.241, allocations: 0.9862 MB / 364.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2421, allocations: 0.5266 MB / 364.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.2458, allocations: 3.219 MB / 367.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.2478, allocations: 1.391 MB / 369.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.2497, allocations: 1.464 MB / 370.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.2524, allocations: 1.743 MB / 372.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.2529, allocations: 388 kB / 372.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.2542, allocations: 0.6011 MB / 373.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.2553, allocations: 1.091 MB / 374.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.2571, allocations: 1.385 MB / 375.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005734/0.2628, allocations: 5.082 MB / 381 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2628, allocations: 0 / 381 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2628, allocations: 3.938 kB / 381 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-05/0.2629, allocations: 0 / 381 MB, free: 14.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.00775/0.2707, allocations: 3.483 MB / 384.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2707, allocations: 15.98 kB / 384.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2721, allocations: 426.7 kB / 384.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.2754, allocations: 1.667 MB / 386.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.2756, allocations: 189.2 kB / 386.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/0.276, allocations: 252 kB / 387 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.2819, allocations: 3.376 MB / 390.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-05/0.2819, allocations: 4 kB / 390.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.2822, allocations: 100 kB / 390.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.2823, allocations: 120.9 kB / 390.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/0.2874, allocations: 2.69 MB / 393.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.3037, allocations: 8.929 MB / 402.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.306, allocations: 1.25 MB / 403.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.3079, allocations: 0.9757 MB / 404.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3081, allocations: 56.91 kB / 404.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.3081, allocations: 43.56 kB / 404.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.316e-06/0.3081, allocations: 0 / 404.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01808/0.3262, allocations: 7.037 MB / 411.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3263, allocations: 64.72 kB / 411.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.3288, allocations: 1.699 MB / 413.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.3289, allocations: 53.69 kB / 413.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/0.3299, allocations: 1.294 MB / 414.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.3303, allocations: 487.9 kB / 415.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/0.3308, allocations: 295.5 kB / 415.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.331, allocations: 305.1 kB / 415.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.3324, allocations: 0.8159 MB / 416.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.3343, allocations: 1.313 MB / 417.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.3378, allocations: 2.255 MB / 420.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.3378, allocations: 4 kB / 420.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005184/0.343, allocations: 2.701 MB / 422.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.343, allocations: 15.94 kB / 422.9 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.343, allocations: 16 kB / 422.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3441, allocations: 426.2 kB / 423.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.3456, allocations: 395.3 kB / 423.7 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.3521, allocations: 5.488 MB / 429.2 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.3537, allocations: 123.8 kB / 429.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.3538, allocations: 75.98 kB / 429.4 MB, free: 13.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001354/0.3552, allocations: 0.7861 MB / 430.2 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/0.3555, allocations: 190.8 kB / 430.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.3598, allocations: 2.283 MB / 432.6 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/0.3599, allocations: 16 kB / 432.7 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3599, allocations: 4 kB / 432.7 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.3599, allocations: 7.969 kB / 432.7 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00904/0.3689, allocations: 4.54 MB / 437.2 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.3689, allocations: 8 kB / 437.2 MB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.37, allocations: 243.6 kB / 437.4 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.3713, allocations: 458.5 kB / 437.9 MB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.3714, allocations: 39.92 kB / 437.9 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007758/0.3791, allocations: 6.906 MB / 444.8 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.3791, allocations: 11.94 kB / 444.9 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006114/0.3852, allocations: 3.479 MB / 448.3 MB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.3863, allocations: 366.8 kB / 448.7 MB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.3865, allocations: 35.92 kB / 448.7 MB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.3877, allocations: 103.9 kB / 448.8 MB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.3879, allocations: 116.7 kB / 448.9 MB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.388, allocations: 43.98 kB / 449 MB, free: 8.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.3898, allocations: 1.157 MB / 450.1 MB, free: 7.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3898, allocations: 0 / 450.1 MB, free: 7.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001834/0.3916, allocations: 0.5351 MB / 450.7 MB, free: 7.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * 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,12,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.0004358/0.3921, allocations: 222.8 kB / 450.9 MB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004198/0.3963, allocations: 2.255 MB / 453.1 MB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.3963, allocations: 4 kB / 453.2 MB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.3989, allocations: 1.451 MB / 454.6 MB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.4009, allocations: 381.8 kB / 455 MB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009023/0.4099, allocations: 5.192 MB / 460.2 MB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.4117, allocations: 1.442 MB / 461.6 MB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001314/0.413, allocations: 414.3 kB / 462 MB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.4134, allocations: 128.5 kB / 462.1 MB, free: 11.62 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4134, allocations: 0 / 462.1 MB, free: 11.62 MB / 430.1 MB Notification: Performance of Templates: time 0.2101/0.6236, allocations: 26.38 MB / 488.5 MB, free: 103.1 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.722377351950854]