Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 110 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 195.5 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.92 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08128/0.08252, allocations: 46.62 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01128/0.09384, allocations: 9.62 MB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006794/0.1007, allocations: 3.46 MB / 341 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.1024, allocations: 39.81 kB / 341.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.1047, allocations: 0.6716 MB / 341.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.1075, allocations: 0.831 MB / 342.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1089, allocations: 455.2 kB / 343 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.1123, allocations: 2.681 MB / 345.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.1145, allocations: 1.814 MB / 347.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.1164, allocations: 1.168 MB / 348.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.119, allocations: 1.553 MB / 350.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006082/0.1196, allocations: 308 kB / 350.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.1208, allocations: 0.5542 MB / 351.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009451/0.1217, allocations: 0.9855 MB / 352.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.1234, allocations: 1.481 MB / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.1275, allocations: 4.229 MB / 357.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1276, allocations: 0 / 357.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1276, allocations: 0 / 357.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.824e-05/0.1277, allocations: 0 / 357.8 MB, free: 6.461 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006663/0.1344, allocations: 3.154 MB / 360.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1344, allocations: 8.031 kB / 360.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008299/0.1352, allocations: 329.2 kB / 361.3 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.1377, allocations: 1.6 MB / 362.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1378, allocations: 163.9 kB / 363 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.1381, allocations: 203.9 kB / 363.2 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.1426, allocations: 2.686 MB / 365.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.1427, allocations: 7.938 kB / 365.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.1429, allocations: 87.98 kB / 366 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.143, allocations: 99.92 kB / 366.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.1472, allocations: 2.272 MB / 368.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.1613, allocations: 8.232 MB / 376.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.1645, allocations: 1.63 MB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.1666, allocations: 1.09 MB / 379.3 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.1669, allocations: 130.1 kB / 379.5 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1669, allocations: 47.5 kB / 379.5 MB, free: 240 kB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.797e-06/0.1669, allocations: 0 / 379.5 MB, free: 240 kB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.1598/0.3267, allocations: 6.2 MB / 385.7 MB, free: 50.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3267, allocations: 69.61 kB / 385.8 MB, free: 49.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.33, allocations: 2.151 MB / 387.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.3303, allocations: 47.52 kB / 388 MB, free: 49.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.331, allocations: 1.107 MB / 389.1 MB, free: 48.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.3314, allocations: 459 kB / 389.5 MB, free: 47.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004291/0.3319, allocations: 243.8 kB / 389.8 MB, free: 47.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.332, allocations: 361.3 kB / 390.1 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.3333, allocations: 0.7589 MB / 390.9 MB, free: 47.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.3348, allocations: 1.012 MB / 391.9 MB, free: 46.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/0.3372, allocations: 1.865 MB / 393.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3372, allocations: 2.25 kB / 393.8 MB, free: 45.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004792/0.342, allocations: 2.763 MB / 396.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.3421, allocations: 9.062 kB / 396.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3421, allocations: 7.906 kB / 396.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.3439, allocations: 0.7884 MB / 397.3 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.345, allocations: 273.9 kB / 397.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009522/0.3546, allocations: 9.601 MB / 407.2 MB, free: 36.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.3561, allocations: 91.89 kB / 407.3 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.3563, allocations: 51.98 kB / 407.3 MB, free: 36.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001144/0.3575, allocations: 0.7472 MB / 408.1 MB, free: 35.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.3579, allocations: 205.4 kB / 408.3 MB, free: 35.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.3618, allocations: 2.487 MB / 410.8 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.3619, allocations: 16 kB / 410.8 MB, free: 32.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3619, allocations: 7.938 kB / 410.8 MB, free: 32.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.3619, allocations: 7.969 kB / 410.8 MB, free: 32.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007742/0.3697, allocations: 4.95 MB / 415.7 MB, free: 27.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.3697, allocations: 4 kB / 415.7 MB, free: 27.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.3707, allocations: 211.9 kB / 416 MB, free: 27.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.3722, allocations: 0.66 MB / 416.6 MB, free: 26.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.3723, allocations: 27.98 kB / 416.6 MB, free: 26.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/0.3793, allocations: 8.704 MB / 425.3 MB, free: 17.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3793, allocations: 3.938 kB / 425.3 MB, free: 17.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.3847, allocations: 3.53 MB / 428.9 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.3857, allocations: 442.5 kB / 429.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.386, allocations: 31.98 kB / 429.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009406/0.3869, allocations: 83.91 kB / 429.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.3872, allocations: 100.8 kB / 429.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/0.3873, allocations: 39.97 kB / 429.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001666/0.389, allocations: 1.523 MB / 431.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.389, allocations: 0 / 431.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00169/0.3907, allocations: 0.5285 MB / 431.6 MB, free: 11.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.3918, allocations: 465.2 kB / 432.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004843/0.3966, allocations: 2.857 MB / 434.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.3967, allocations: 4.375 kB / 434.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.3988, allocations: 1.601 MB / 436.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.4011, allocations: 446.1 kB / 437 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/0.4081, allocations: 5.248 MB / 442.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.4095, allocations: 1.928 MB / 444.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.4101, allocations: 143.4 kB / 444.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4101, allocations: 0 / 444.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Templates: time 0.07209/0.4822, allocations: 63.73 MB / 0.4961 GB, free: 14.58 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches