Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 113.3 kB / 18.4 MB, free: 4.688 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.001518/0.001518, allocations: 189.2 kB / 19.33 MB, free: 3.77 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.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001342/0.001342, allocations: 51.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08968, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.1922/0.2819, allocations: 9.334 MB / 385.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.2871, allocations: 3.031 MB / 388.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000862/0.2881, allocations: 40.84 kB / 388.2 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.2895, allocations: 0.631 MB / 388.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.2913, allocations: 0.7747 MB / 389.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.292, allocations: 357 kB / 390 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.2945, allocations: 2.692 MB / 392.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.2965, allocations: 1.899 MB / 394.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.298, allocations: 1.192 MB / 395.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.2998, allocations: 1.489 MB / 397.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.3003, allocations: 308 kB / 397.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007816/0.301, allocations: 399.6 kB / 398 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007904/0.3018, allocations: 0.8867 MB / 398.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3032, allocations: 1.405 MB / 400.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.3073, allocations: 4.081 MB / 404.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3073, allocations: 4 kB / 404.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3073, allocations: 1.156 kB / 404.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.531e-05/0.3074, allocations: 0 / 404.3 MB, free: 14.74 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005555/0.313, allocations: 2.849 MB / 407.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.313, allocations: 10.09 kB / 407.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007356/0.3138, allocations: 293.9 kB / 407.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.3161, allocations: 1.434 MB / 408.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.3162, allocations: 158.2 kB / 409.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.3165, allocations: 204.7 kB / 409.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.321, allocations: 2.733 MB / 412 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.3211, allocations: 14.64 kB / 412 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.3213, allocations: 78.41 kB / 412.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.3214, allocations: 92.12 kB / 412.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.3251, allocations: 2.325 MB / 414.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.3366, allocations: 8.314 MB / 422.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.3386, allocations: 1.776 MB / 424.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.3404, allocations: 1.073 MB / 425.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.3406, allocations: 126.9 kB / 425.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3407, allocations: 47.56 kB / 425.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.755e-06/0.3407, allocations: 0 / 425.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01244/0.3531, allocations: 6.301 MB / 432.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3532, allocations: 64.41 kB / 432.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.3553, allocations: 1.512 MB / 433.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.3554, allocations: 45.7 kB / 433.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006762/0.3561, allocations: 0.9912 MB / 434.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.3564, allocations: 410 kB / 435.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.3568, allocations: 259.3 kB / 435.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.357, allocations: 361.9 kB / 435.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.3581, allocations: 0.7378 MB / 436.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.3593, allocations: 1.052 MB / 437.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.3618, allocations: 1.875 MB / 439.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.3618, allocations: 0 / 439.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003632/0.3655, allocations: 2.353 MB / 441.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3655, allocations: 11.94 kB / 441.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3655, allocations: 8 kB / 441.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009133/0.3664, allocations: 416.6 kB / 442.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.3676, allocations: 327.5 kB / 442.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.3726, allocations: 5.067 MB / 447.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3738, allocations: 95.95 kB / 447.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3739, allocations: 51.94 kB / 447.7 MB, free: 6.414 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.3754, allocations: 0.7081 MB / 448.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/0.376, allocations: 158 kB / 448.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/0.3806, allocations: 2.145 MB / 450.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.3807, allocations: 12 kB / 450.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.3807, allocations: 4 kB / 450.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3807, allocations: 7.969 kB / 450.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008319/0.389, allocations: 4.569 MB / 455.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3891, allocations: 0 / 455.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.39, allocations: 224 kB / 455.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.3913, allocations: 470.8 kB / 456 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.3914, allocations: 31.92 kB / 456 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006673/0.3981, allocations: 6.69 MB / 462.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3981, allocations: 4 kB / 462.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.403, allocations: 3.18 MB / 465.9 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.404, allocations: 395.1 kB / 466.3 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004975/0.4045, allocations: 32 kB / 466.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.4057, allocations: 75.91 kB / 466.4 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.4059, allocations: 104.8 kB / 466.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.406, allocations: 32 kB / 466.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001899/0.4079, allocations: 1.052 MB / 467.6 MB, free: 1.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4079, allocations: 0 / 467.6 MB, free: 1.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001963/0.4099, allocations: 460 kB / 468 MB, free: 1.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.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 (104): * Single equations (assignments): 100 * 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 {(2,12,100.0%), (1,1,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.0004121/0.4103, allocations: 191.7 kB / 468.2 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003598/0.4139, allocations: 2.271 MB / 470.5 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.414, allocations: 12.19 kB / 470.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.4162, allocations: 1.48 MB / 472 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.4188, allocations: 450.1 kB / 472.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.427, allocations: 4.501 MB / 476.9 MB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.429, allocations: 1.799 MB / 478.7 MB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.4295, allocations: 119.4 kB / 478.8 MB, free: 6.41 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4295, allocations: 0 / 478.8 MB, free: 6.41 MB / 398.1 MB Notification: Performance of Templates: time 0.07815/0.5077, allocations: 70.09 MB / 0.5361 GB, free: 168 kB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches