Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.001871/0.001871, allocations: 101.6 kB / 21.93 MB, free: 5.195 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.002198/0.002198, allocations: 203.2 kB / 25.22 MB, free: 3.141 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.418/1.418, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] 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_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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.001867/0.001867, allocations: 51.88 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01188/0.3097, allocations: 10.33 MB / 407.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008502/0.3182, allocations: 3.767 MB / 411.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.3207, allocations: 72.28 kB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.3237, allocations: 0.8314 MB / 412.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.3283, allocations: 1.042 MB / 413.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3301, allocations: 0.5276 MB / 414.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005573/0.3357, allocations: 3.451 MB / 417.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.3382, allocations: 1.456 MB / 419.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.3415, allocations: 1.572 MB / 420.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.3465, allocations: 1.873 MB / 422.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.3478, allocations: 410.2 kB / 422.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.3503, allocations: 0.6273 MB / 423.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.3521, allocations: 1.156 MB / 424.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00368/0.3557, allocations: 1.494 MB / 426.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008399/0.3641, allocations: 5.413 MB / 431.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3641, allocations: 3.938 kB / 431.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3641, allocations: 0 / 431.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000198/0.3643, allocations: 4 kB / 431.6 MB, free: 1.035 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01033/0.3747, allocations: 3.709 MB / 435.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3747, allocations: 11.98 kB / 435.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.3763, allocations: 454.6 kB / 435.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/0.3809, allocations: 1.79 MB / 437.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.3811, allocations: 205.4 kB / 437.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.3818, allocations: 271.9 kB / 438.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007769/0.3895, allocations: 3.643 MB / 441.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.394e-05/0.3896, allocations: 19.81 kB / 441.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.3899, allocations: 116 kB / 441.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.3901, allocations: 117.3 kB / 441.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006716/0.3968, allocations: 2.956 MB / 444.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.4195, allocations: 9.569 MB / 454.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.4228, allocations: 1.517 MB / 456 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.4251, allocations: 1.098 MB / 457.1 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.4254, allocations: 49.27 kB / 457.1 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.4255, allocations: 47.88 kB / 457.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 4.809e-06/0.4255, allocations: 4 kB / 457.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01881/0.4443, allocations: 7.054 MB / 464.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.4443, allocations: 72.72 kB / 464.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.4481, allocations: 1.822 MB / 466.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.4483, allocations: 45.7 kB / 466.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4496, allocations: 1.357 MB / 467.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007015/0.4503, allocations: 0.5268 MB / 468.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000697/0.451, allocations: 331.4 kB / 468.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4511, allocations: 305.1 kB / 468.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.4528, allocations: 0.8784 MB / 469.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.4549, allocations: 1.377 MB / 470.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.4589, allocations: 2.382 MB / 473.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.459, allocations: 4 kB / 473.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006228/0.4652, allocations: 2.884 MB / 476.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.4652, allocations: 12 kB / 476.2 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.4653, allocations: 12 kB / 476.2 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.4666, allocations: 474.5 kB / 476.7 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.4684, allocations: 431.3 kB / 477.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/0.4763, allocations: 5.791 MB / 482.9 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.4784, allocations: 123.8 kB / 483 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/0.4788, allocations: 79.92 kB / 483.1 MB, free: 12.29 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (199): * Single equations (assignments): 194 * 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.0021/0.4809, allocations: 0.8601 MB / 484 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.4817, allocations: 206.7 kB / 484.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/0.487, allocations: 2.479 MB / 486.6 MB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/0.487, allocations: 19.94 kB / 486.7 MB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.487, allocations: 8 kB / 486.7 MB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.487, allocations: 7.969 kB / 486.7 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.4986, allocations: 4.855 MB / 491.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4986, allocations: 0 / 491.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.4999, allocations: 288.1 kB / 491.8 MB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.5015, allocations: 494 kB / 492.3 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.5017, allocations: 39.98 kB / 492.3 MB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009256/0.5109, allocations: 7.238 MB / 499.6 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5109, allocations: 8 kB / 499.6 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/0.5184, allocations: 3.753 MB / 0.4915 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.52, allocations: 398.4 kB / 0.4919 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008124/0.5208, allocations: 39.98 kB / 0.492 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.5223, allocations: 99.83 kB / 0.4921 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/0.5226, allocations: 133 kB / 0.4922 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.5227, allocations: 43.98 kB / 0.4922 GB, free: 6.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002619/0.5254, allocations: 1.23 MB / 0.4934 GB, free: 5.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5254, allocations: 0 / 0.4934 GB, free: 5.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002609/0.528, allocations: 0.582 MB / 0.494 GB, free: 5.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * 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.0005768/0.5286, allocations: 222.7 kB / 0.4942 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004993/0.5335, allocations: 2.446 MB / 0.4966 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.5336, allocations: 0 / 0.4966 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003029/0.5366, allocations: 1.545 MB / 0.4981 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.5395, allocations: 429.7 kB / 0.4985 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.5518, allocations: 5.735 MB / 0.5041 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.5543, allocations: 1.556 MB / 0.5056 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/0.5553, allocations: 147.4 kB / 0.5058 GB, free: 8.754 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5553, allocations: 0 / 0.5058 GB, free: 8.754 MB / 430.1 MB Notification: Performance of Templates: time 0.3249/0.8801, allocations: 75.43 MB / 0.5794 GB, free: 143.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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: 14.253297215793282]