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.006248/0.006248, allocations: 101.4 kB / 21.96 MB, free: 5.207 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.001597/0.001597, allocations: 217.5 kB / 25.26 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.311/1.311, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [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.001641/0.001641, allocations: 51.92 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008856/0.2367, allocations: 7.847 MB / 405 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005793/0.2425, allocations: 2.749 MB / 407.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.2438, allocations: 50.72 kB / 407.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.2454, allocations: 0.5976 MB / 408.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.2475, allocations: 0.7793 MB / 409.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.2481, allocations: 322.9 kB / 409.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.2505, allocations: 2.387 MB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.2518, allocations: 0.9921 MB / 412.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.2533, allocations: 1.09 MB / 413.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.2553, allocations: 1.377 MB / 415.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.2557, allocations: 278.6 kB / 415.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/0.2564, allocations: 376 kB / 416 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008158/0.2572, allocations: 0.8081 MB / 416.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.2584, allocations: 1.019 MB / 417.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.2623, allocations: 3.714 MB / 421.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2623, allocations: 0 / 421.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2623, allocations: 0 / 421.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.567e-05/0.2623, allocations: 1.375 kB / 421.5 MB, free: 9.438 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.004996/0.2673, allocations: 2.563 MB / 424.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2673, allocations: 13.27 kB / 424.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.938e-05/0.2674, allocations: 51.3 kB / 424.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003427/0.2678, allocations: 262.4 kB / 424.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.2685, allocations: 276.9 kB / 424.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2707, allocations: 1.254 MB / 425.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.2708, allocations: 135.7 kB / 426 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.2711, allocations: 184 kB / 426.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004079/0.2752, allocations: 2.518 MB / 428.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.2752, allocations: 3.953 kB / 428.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.2754, allocations: 75.98 kB / 428.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.2755, allocations: 87.48 kB / 428.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/0.2789, allocations: 2.016 MB / 430.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.2902, allocations: 6.672 MB / 437.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.292, allocations: 0.9874 MB / 438.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.2936, allocations: 0.8495 MB / 439.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.2938, allocations: 44.97 kB / 439.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.2938, allocations: 39.56 kB / 439.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.975e-06/0.2939, allocations: 0 / 439.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009484/0.3033, allocations: 4.734 MB / 444.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.3034, allocations: 68.39 kB / 444.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.3053, allocations: 1.376 MB / 445.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.867e-05/0.3054, allocations: 41.7 kB / 445.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/0.3061, allocations: 0.9149 MB / 446.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.3064, allocations: 372.8 kB / 447 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.3068, allocations: 226.8 kB / 447.2 MB, free: 484 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.307, allocations: 349.9 kB / 447.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.308, allocations: 0.635 MB / 448.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.3091, allocations: 0.922 MB / 449.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.3114, allocations: 1.645 MB / 450.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.3114, allocations: 7.938 kB / 450.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004144/0.3155, allocations: 2.368 MB / 453.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3156, allocations: 8 kB / 453.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.3156, allocations: 15.98 kB / 453.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.3174, allocations: 0.7119 MB / 453.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.3182, allocations: 235.7 kB / 454.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.329, allocations: 8.46 MB / 462.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.3302, allocations: 79.91 kB / 462.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.3303, allocations: 47.98 kB / 462.7 MB, free: 0.5039 MB / 366.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.001055/0.3313, allocations: 0.6185 MB / 463.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.3316, allocations: 155 kB / 463.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/0.3348, allocations: 1.889 MB / 465.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3348, allocations: 8 kB / 465.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3348, allocations: 8 kB / 465.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3349, allocations: 3.984 kB / 465.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.3413, allocations: 3.758 MB / 469.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3413, allocations: 0 / 469.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.3421, allocations: 183.7 kB / 469.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.3434, allocations: 471 kB / 469.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.3434, allocations: 35.92 kB / 469.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/0.3499, allocations: 6.324 MB / 476.1 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3499, allocations: 8 kB / 476.1 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.3543, allocations: 2.772 MB / 478.9 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.3551, allocations: 286.9 kB / 479.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.3553, allocations: 24 kB / 479.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/0.356, allocations: 67.91 kB / 479.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.3563, allocations: 88.78 kB / 479.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.3563, allocations: 35.92 kB / 479.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001377/0.3577, allocations: 0.9504 MB / 480.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3577, allocations: 4 kB / 480.4 MB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001368/0.3591, allocations: 435.9 kB / 480.8 MB, free: 13.89 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.00468/0.3638, allocations: 3.396 MB / 484.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.367, allocations: 1.941 MB / 486.1 MB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.367, allocations: 0 / 486.1 MB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.369, allocations: 1.222 MB / 487.3 MB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.3707, allocations: 392.8 kB / 487.7 MB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/0.3958, allocations: 16.35 MB / 0.4923 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.397, allocations: 1.11 MB / 0.4933 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008892/0.3979, allocations: 312 kB / 0.4936 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/0.3988, allocations: 0.7023 MB / 0.4943 GB, free: 3.828 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3988, allocations: 0 / 0.4943 GB, free: 3.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08575/0.4846, allocations: 42.75 MB / 0.5361 GB, free: 8.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.45/18.93, allocations: 15.94 kB / 0.5361 GB, free: 8.926 MB / 462.1 MB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 52.5] 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 24.71456443599891]