Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.001804/0.001804, allocations: 85.95 kB / 22 MB, free: 5.199 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.002141/0.002141, allocations: 157.8 kB / 25.24 MB, free: 3.027 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.314/1.314, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] 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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_Initialize") [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.001807/0.001807, allocations: 55.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2049, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01089/0.2158, allocations: 7.857 MB / 356.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005731/0.2215, allocations: 2.766 MB / 359.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.2223, allocations: 47.69 kB / 359.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.2239, allocations: 0.59 MB / 359.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.2258, allocations: 0.773 MB / 360.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.2265, allocations: 319.6 kB / 360.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.2295, allocations: 2.397 MB / 363.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.2309, allocations: 0.9494 MB / 364.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.2322, allocations: 1.094 MB / 365.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.2342, allocations: 1.304 MB / 366.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.2346, allocations: 280 kB / 366.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006817/0.2353, allocations: 367.8 kB / 367.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008504/0.2361, allocations: 0.7986 MB / 368 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.2374, allocations: 1.019 MB / 369.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.2414, allocations: 3.72 MB / 372.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2414, allocations: 3.938 kB / 372.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2414, allocations: 0 / 372.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.096e-05/0.2415, allocations: 0 / 372.8 MB, free: 7.137 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005213/0.2467, allocations: 2.564 MB / 375.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2467, allocations: 15.98 kB / 375.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.2474, allocations: 267.4 kB / 375.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.2501, allocations: 1.244 MB / 376.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2503, allocations: 144 kB / 377 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.2506, allocations: 192 kB / 377.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.2549, allocations: 2.502 MB / 379.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.2549, allocations: 7.953 kB / 379.7 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.2551, allocations: 72.06 kB / 379.8 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.2552, allocations: 91.41 kB / 379.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/0.259, allocations: 2.012 MB / 381.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.2708, allocations: 6.401 MB / 388.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.2726, allocations: 0.9913 MB / 389.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.2744, allocations: 0.8538 MB / 390.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.2746, allocations: 44.97 kB / 390.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.2746, allocations: 39.56 kB / 390.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.845e-06/0.2746, allocations: 4 kB / 390.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01005/0.2847, allocations: 4.719 MB / 394.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.2848, allocations: 64.41 kB / 395 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.2867, allocations: 1.241 MB / 396.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.2868, allocations: 41.7 kB / 396.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007737/0.2876, allocations: 0.9179 MB / 397.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.2879, allocations: 376.8 kB / 397.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.2883, allocations: 222.9 kB / 397.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2885, allocations: 353.9 kB / 398.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.2897, allocations: 0.6311 MB / 398.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.291, allocations: 0.922 MB / 399.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.2936, allocations: 1.637 MB / 401.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2937, allocations: 8 kB / 401.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00468/0.2983, allocations: 2.368 MB / 403.7 MB, free: 7.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.2984, allocations: 8 kB / 403.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.2984, allocations: 11.98 kB / 403.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.3004, allocations: 0.7158 MB / 404.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3014, allocations: 231.7 kB / 404.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.3135, allocations: 8.406 MB / 413 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.3147, allocations: 83.86 kB / 413.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.3148, allocations: 48 kB / 413.2 MB, free: 13.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001116/0.3159, allocations: 0.6302 MB / 413.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.3162, allocations: 139.2 kB / 413.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.3198, allocations: 1.884 MB / 415.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.3198, allocations: 12 kB / 415.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3198, allocations: 4 kB / 415.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.3198, allocations: 7.969 kB / 415.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.3267, allocations: 3.518 MB / 419.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.3267, allocations: 4 kB / 419.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/0.3276, allocations: 188 kB / 419.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.3289, allocations: 466.9 kB / 420 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/0.329, allocations: 27.98 kB / 420 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007275/0.3363, allocations: 6.259 MB / 426.3 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3363, allocations: 4.031 kB / 426.3 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004874/0.3411, allocations: 2.756 MB / 429.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008329/0.342, allocations: 278.9 kB / 429.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.3421, allocations: 27.98 kB / 429.4 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.343, allocations: 63.92 kB / 429.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.3432, allocations: 88.72 kB / 429.5 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.3433, allocations: 35.98 kB / 429.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.3446, allocations: 0.8454 MB / 430.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 430.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001387/0.346, allocations: 428 kB / 430.8 MB, free: 11.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * 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.0003543/0.3464, allocations: 187.3 kB / 431 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003727/0.3501, allocations: 1.942 MB / 432.9 MB, free: 9.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.3501, allocations: 4 kB / 432.9 MB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.3524, allocations: 1.217 MB / 434.2 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.3541, allocations: 336.2 kB / 434.5 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007007/0.3611, allocations: 4.059 MB / 438.5 MB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.3625, allocations: 1.114 MB / 439.7 MB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008783/0.3634, allocations: 295 kB / 439.9 MB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.3637, allocations: 96.47 kB / 440 MB, free: 2.262 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3637, allocations: 0 / 440 MB, free: 2.262 MB / 398.1 MB Notification: Performance of Templates: time 0.04092/0.4046, allocations: 23.06 MB / 463.1 MB, free: 11.15 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.31988160207402]