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.001839/0.001839, allocations: 88.31 kB / 21.73 MB, free: 2.809 MB / 18.57 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.001567/0.001567, allocations: 160.4 kB / 25.02 MB, free: 8.848 MB / 18.57 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.455/1.455, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.818e-05/4.071e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01326/0.0133, allocations: 8.291 MB / 258.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.02028, allocations: 2.883 MB / 261.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.02142, allocations: 47.69 kB / 261.6 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.02318, allocations: 0.6248 MB / 262.2 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.02563, allocations: 0.8499 MB / 263.1 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.02645, allocations: 351.4 kB / 263.4 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.03046, allocations: 2.785 MB / 266.2 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.03219, allocations: 1.065 MB / 267.3 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.03513, allocations: 1.762 MB / 269 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.03745, allocations: 1.321 MB / 270.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.03797, allocations: 308 kB / 270.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.03905, allocations: 391.8 kB / 271 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.04013, allocations: 0.927 MB / 272 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.04156, allocations: 0.9783 MB / 272.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.04702, allocations: 4.14 MB / 277.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.04703, allocations: 4 kB / 277.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.04703, allocations: 0 / 277.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.04713, allocations: 0 / 277.1 MB, free: 9.047 MB / 266.7 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.007331/0.05446, allocations: 2.81 MB / 279.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.05452, allocations: 11.98 kB / 279.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.05579, allocations: 479.1 kB / 280.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.0589, allocations: 1.428 MB / 281.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.05908, allocations: 160.4 kB / 282 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.05946, allocations: 204.4 kB / 282.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005677/0.06514, allocations: 2.833 MB / 285 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.0652, allocations: 7.891 kB / 285 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/0.0657, allocations: 84 kB / 285.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.06584, allocations: 95.88 kB / 285.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/0.07083, allocations: 2.322 MB / 287.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.08697, allocations: 7.355 MB / 294.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.08942, allocations: 1.239 MB / 296.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.09166, allocations: 1.015 MB / 297.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.09191, allocations: 60.89 kB / 297.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.09195, allocations: 43.56 kB / 297.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/0.09196, allocations: 3.938 kB / 297.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.1368/0.2288, allocations: 5.978 MB / 303.2 MB, free: 56.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.2288, allocations: 69.05 kB / 303.3 MB, free: 56.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.2311, allocations: 1.377 MB / 304.6 MB, free: 55.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.2313, allocations: 47.36 kB / 304.7 MB, free: 55.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.2319, allocations: 1.012 MB / 305.7 MB, free: 55.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.2322, allocations: 432 kB / 306.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.2326, allocations: 253 kB / 306.4 MB, free: 54.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.2327, allocations: 365 kB / 306.7 MB, free: 54.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.234, allocations: 0.7357 MB / 307.5 MB, free: 54.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2354, allocations: 1.054 MB / 308.5 MB, free: 53.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/0.2381, allocations: 1.877 MB / 310.4 MB, free: 52.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.2381, allocations: 2.656 kB / 310.4 MB, free: 52.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004143/0.2423, allocations: 2.392 MB / 312.8 MB, free: 51.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2423, allocations: 9.719 kB / 312.8 MB, free: 51.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.2423, allocations: 13.25 kB / 312.8 MB, free: 51.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.2435, allocations: 450.7 kB / 313.2 MB, free: 51.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.2447, allocations: 328.6 kB / 313.6 MB, free: 51.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.2487, allocations: 4.792 MB / 318.4 MB, free: 47.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2501, allocations: 85.42 kB / 318.4 MB, free: 47.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.2503, allocations: 56.66 kB / 318.5 MB, free: 47.92 MB / 282.7 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.001237/0.2515, allocations: 0.7034 MB / 319.2 MB, free: 47.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004972/0.252, allocations: 202.4 kB / 319.4 MB, free: 47.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.2551, allocations: 2.115 MB / 321.5 MB, free: 46.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2551, allocations: 13.53 kB / 321.5 MB, free: 46.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2551, allocations: 4.875 kB / 321.5 MB, free: 46.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2551, allocations: 7.922 kB / 321.5 MB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006284/0.2614, allocations: 4.049 MB / 325.6 MB, free: 41.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.2614, allocations: 8.156 kB / 325.6 MB, free: 41.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.2624, allocations: 227.7 kB / 325.8 MB, free: 41.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.2636, allocations: 489.9 kB / 326.3 MB, free: 41.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/0.2637, allocations: 31.98 kB / 326.3 MB, free: 41.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/0.2685, allocations: 6.288 MB / 332.6 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2685, allocations: 7.969 kB / 332.6 MB, free: 34.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/0.2727, allocations: 3.206 MB / 335.8 MB, free: 31.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.2736, allocations: 318.8 kB / 336.1 MB, free: 31.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.2738, allocations: 31.98 kB / 336.2 MB, free: 31.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.2746, allocations: 75.91 kB / 336.2 MB, free: 30.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.2749, allocations: 116.7 kB / 336.4 MB, free: 30.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.2749, allocations: 28 kB / 336.4 MB, free: 30.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.276, allocations: 0.9427 MB / 337.3 MB, free: 29.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.276, allocations: 0 / 337.3 MB, free: 29.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001476/0.2775, allocations: 457.5 kB / 337.8 MB, free: 29.44 MB / 282.7 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.0003547/0.2779, allocations: 187.6 kB / 338 MB, free: 29.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.2808, allocations: 2.046 MB / 340 MB, free: 27.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2809, allocations: 4.125 kB / 340 MB, free: 27.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.2827, allocations: 1.357 MB / 341.4 MB, free: 25.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.2846, allocations: 405.5 kB / 341.8 MB, free: 25.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.2901, allocations: 4.426 MB / 346.2 MB, free: 20.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.2912, allocations: 1.245 MB / 347.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009964/0.2922, allocations: 384.5 kB / 347.8 MB, free: 19.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.2925, allocations: 107 kB / 347.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2925, allocations: 0 / 347.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Templates: time 0.03658/0.3291, allocations: 24.56 MB / 372.5 MB, free: 10.62 MB / 298.7 MB " [Timeout remaining time 660] 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/jenkins/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/jenkins/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: 5.664636621018872]