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.002029/0.002029, allocations: 102.4 kB / 21.93 MB, free: 5.203 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.002354/0.002354, allocations: 202.7 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.5/1.5, allocations: 207.7 MB / 236.1 MB, free: 9.766 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.001868/0.001868, allocations: 55.92 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01017/0.3055, allocations: 8.29 MB / 405.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.3113, allocations: 2.859 MB / 408.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.3125, allocations: 52.81 kB / 408.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.314, allocations: 0.6288 MB / 409.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.316, allocations: 0.8172 MB / 410.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.3167, allocations: 365.7 kB / 410.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002819/0.3195, allocations: 2.679 MB / 413.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.3211, allocations: 1.062 MB / 414.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.3233, allocations: 1.216 MB / 415.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.3261, allocations: 1.467 MB / 417 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006035/0.3267, allocations: 308.9 kB / 417.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.328, allocations: 395.3 kB / 417.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.3292, allocations: 0.9049 MB / 418.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.3311, allocations: 1.135 MB / 419.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.3365, allocations: 4.124 MB / 423.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3365, allocations: 0 / 423.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3365, allocations: 0 / 423.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.3366, allocations: 0 / 423.9 MB, free: 8.578 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.007148/0.3437, allocations: 2.846 MB / 426.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3438, allocations: 11.98 kB / 426.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007903/0.3446, allocations: 303.2 kB / 427 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.3479, allocations: 1.386 MB / 428.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.348, allocations: 156.4 kB / 428.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003738/0.3484, allocations: 212.1 kB / 428.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005335/0.3537, allocations: 2.828 MB / 431.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/0.3538, allocations: 4 kB / 431.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.354, allocations: 83.98 kB / 431.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.3541, allocations: 95.92 kB / 431.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004411/0.3585, allocations: 2.318 MB / 434.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.3729, allocations: 7.262 MB / 441.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.375, allocations: 1.242 MB / 442.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.3772, allocations: 1.016 MB / 443.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.3774, allocations: 40.97 kB / 443.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3774, allocations: 43.56 kB / 443.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.216e-06/0.3774, allocations: 0 / 443.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01457/0.392, allocations: 5.945 MB / 449.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3921, allocations: 68.41 kB / 449.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.3943, allocations: 1.38 MB / 451.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.3944, allocations: 49.7 kB / 451.2 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008523/0.3953, allocations: 1.012 MB / 452.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.3957, allocations: 432.3 kB / 452.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/0.3961, allocations: 255.5 kB / 452.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3963, allocations: 361.9 kB / 453.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3976, allocations: 0.7339 MB / 453.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3992, allocations: 1.059 MB / 455 MB, free: 9.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.4022, allocations: 1.867 MB / 456.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.4022, allocations: 4 kB / 456.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004458/0.4067, allocations: 2.342 MB / 459.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.4067, allocations: 8 kB / 459.2 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4067, allocations: 8 kB / 459.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.4078, allocations: 407.3 kB / 459.6 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4091, allocations: 331.5 kB / 459.9 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/0.415, allocations: 4.78 MB / 464.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4164, allocations: 91.95 kB / 464.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.4165, allocations: 52 kB / 464.9 MB, free: 14.78 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.001565/0.4181, allocations: 0.7197 MB / 465.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.4185, allocations: 159 kB / 465.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/0.4225, allocations: 2.116 MB / 467.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.4226, allocations: 15.94 kB / 467.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4226, allocations: 0 / 467.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4226, allocations: 11.98 kB / 467.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008431/0.431, allocations: 4.031 MB / 471.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.431, allocations: 4 kB / 471.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.432, allocations: 219.9 kB / 472.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.4335, allocations: 466.9 kB / 472.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.4336, allocations: 39.97 kB / 472.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.4413, allocations: 6.271 MB / 478.9 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4413, allocations: 3.938 kB / 478.9 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006022/0.4473, allocations: 3.173 MB / 482.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.4486, allocations: 314.9 kB / 482.4 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/0.449, allocations: 24 kB / 482.4 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.45, allocations: 75.91 kB / 482.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.4503, allocations: 120.7 kB / 482.6 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/0.4504, allocations: 35.98 kB / 482.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.4523, allocations: 0.935 MB / 483.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4523, allocations: 0 / 483.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001897/0.4542, allocations: 463.9 kB / 484 MB, free: 11.11 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.0004312/0.4546, allocations: 194.8 kB / 484.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.4585, allocations: 2.03 MB / 486.2 MB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4585, allocations: 4.25 kB / 486.2 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.461, allocations: 1.373 MB / 487.6 MB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.4631, allocations: 372.8 kB / 488 MB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/0.4716, allocations: 4.581 MB / 492.6 MB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.4734, allocations: 1.222 MB / 493.8 MB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.4739, allocations: 115.4 kB / 493.9 MB, free: 1.031 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4739, allocations: 3.938 kB / 493.9 MB, free: 1.027 MB / 398.1 MB Notification: Performance of Templates: time 0.08391/0.5578, allocations: 70 MB / 0.5507 GB, free: 10.86 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.376885514706373]