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.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.001582/0.001582, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001817/0.001817, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.492/1.492, allocations: 207.6 MB / 236 MB, free: 9.98 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.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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=15000,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") [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.002068/0.002068, allocations: 47.92 kB / 348.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2931, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01046/0.3036, allocations: 9.429 MB / 407 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.3105, allocations: 3.05 MB / 410.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.3127, allocations: 54.16 kB / 410.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.3148, allocations: 0.6787 MB / 410.8 MB, free: 208 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.3182, allocations: 0.8158 MB / 411.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.3194, allocations: 368.2 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005442/0.3248, allocations: 2.683 MB / 414.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.3274, allocations: 1.1 MB / 415.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.3302, allocations: 1.228 MB / 417 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.3339, allocations: 1.53 MB / 418.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.3351, allocations: 307.9 kB / 418.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.3373, allocations: 403.7 kB / 419.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.3392, allocations: 0.8973 MB / 420.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004194/0.3434, allocations: 1.408 MB / 421.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008021/0.3515, allocations: 4.096 MB / 425.6 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3515, allocations: 1.188 kB / 425.6 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3515, allocations: 3.938 kB / 425.6 MB, free: 6.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.3517, allocations: 0 / 425.6 MB, free: 6.836 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.01087/0.3625, allocations: 2.836 MB / 428.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3626, allocations: 19.97 kB / 428.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.3642, allocations: 299.2 kB / 428.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.3683, allocations: 1.386 MB / 430.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.3684, allocations: 156.4 kB / 430.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007321/0.3692, allocations: 208.1 kB / 430.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/0.3763, allocations: 2.728 MB / 433.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-05/0.3764, allocations: 4 kB / 433.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.3767, allocations: 84 kB / 433.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.3768, allocations: 99.92 kB / 433.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.3815, allocations: 2.319 MB / 435.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.397, allocations: 8.212 MB / 444 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.3991, allocations: 1.245 MB / 445.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.4011, allocations: 1.008 MB / 446.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.4013, allocations: 49.81 kB / 446.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.4014, allocations: 47.56 kB / 446.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.105e-06/0.4014, allocations: 3.938 kB / 446.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01438/0.4158, allocations: 5.955 MB / 452.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.4158, allocations: 68.41 kB / 452.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.4188, allocations: 1.516 MB / 453.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.419, allocations: 45.7 kB / 453.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009267/0.4199, allocations: 1.005 MB / 454.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/0.4204, allocations: 440.3 kB / 455.3 MB, free: 9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/0.4209, allocations: 251.5 kB / 455.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.4212, allocations: 365.9 kB / 455.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.4225, allocations: 0.73 MB / 456.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.424, allocations: 1.059 MB / 457.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.427, allocations: 1.875 MB / 459.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.427, allocations: 4 kB / 459.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004582/0.4316, allocations: 2.35 MB / 462 MB, free: 2.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.4316, allocations: 12 kB / 462 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.4316, allocations: 8 kB / 462 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4327, allocations: 407.4 kB / 462.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.434, allocations: 327.5 kB / 462.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.4399, allocations: 4.861 MB / 467.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4414, allocations: 91.8 kB / 467.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.4416, allocations: 60.06 kB / 467.7 MB, free: 12.1 MB / 382.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.001458/0.443, allocations: 0.712 MB / 468.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.4435, allocations: 163 kB / 468.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.4476, allocations: 2.129 MB / 470.7 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4476, allocations: 19.94 kB / 470.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.4476, allocations: 4 kB / 470.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.4476, allocations: 7.969 kB / 470.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009937/0.4576, allocations: 4.525 MB / 475.3 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4576, allocations: 4 kB / 475.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.4586, allocations: 223.7 kB / 475.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.4598, allocations: 475.1 kB / 476 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4599, allocations: 31.98 kB / 476 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007137/0.4671, allocations: 6.383 MB / 482.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4671, allocations: 4 kB / 482.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/0.4732, allocations: 3.177 MB / 485.5 MB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.4745, allocations: 334.8 kB / 485.9 MB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/0.475, allocations: 24 kB / 485.9 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4761, allocations: 83.95 kB / 486 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.4764, allocations: 112.7 kB / 486.1 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/0.4765, allocations: 35.98 kB / 486.1 MB, free: 9.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.4786, allocations: 1.044 MB / 487.2 MB, free: 8.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4786, allocations: 3.938 kB / 487.2 MB, free: 8.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002044/0.4806, allocations: 467.9 kB / 487.6 MB, free: 7.633 MB / 398.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.0004689/0.4811, allocations: 179 kB / 487.8 MB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.485, allocations: 2.041 MB / 489.8 MB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.485, allocations: 3.938 kB / 489.9 MB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/0.4874, allocations: 1.37 MB / 491.2 MB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.4902, allocations: 432.8 kB / 491.6 MB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009322/0.4995, allocations: 4.604 MB / 496.2 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.5017, allocations: 1.799 MB / 498 MB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/0.5023, allocations: 123.4 kB / 498.2 MB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5023, allocations: 4 kB / 498.2 MB, free: 12.91 MB / 414.1 MB Notification: Performance of Templates: time 0.09091/0.5932, allocations: 70.28 MB / 0.5551 GB, free: 6.461 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.841340175131336]