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.004839/0.004839, allocations: 114 kB / 21.97 MB, free: 5.227 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.001448/0.001448, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.293/1.293, allocations: 207.6 MB / 236.1 MB, free: 9.98 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.001655/0.001655, allocations: 55.92 kB / 348 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2308, allocations: 49.15 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008736/0.2396, allocations: 8.944 MB / 406.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.2449, allocations: 2.94 MB / 409 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.2461, allocations: 50.78 kB / 409.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2476, allocations: 0.6437 MB / 409.7 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.2497, allocations: 0.775 MB / 410.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.2505, allocations: 336.3 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.2535, allocations: 2.394 MB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.255, allocations: 0.985 MB / 414.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.2567, allocations: 1.089 MB / 415.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.2587, allocations: 1.376 MB / 416.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.2591, allocations: 287.6 kB / 417 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007839/0.2599, allocations: 371.2 kB / 417.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008172/0.2607, allocations: 0.8078 MB / 418.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2621, allocations: 1.264 MB / 419.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.2659, allocations: 3.69 MB / 423.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2659, allocations: 5.375 kB / 423.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2659, allocations: 0 / 423.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.264e-05/0.266, allocations: 4 kB / 423.1 MB, free: 7.914 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.005092/0.2711, allocations: 2.551 MB / 425.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2711, allocations: 15.05 kB / 425.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.523e-05/0.2712, allocations: 54.27 kB / 425.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/0.2715, allocations: 267 kB / 426 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.2722, allocations: 268.2 kB / 426.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.2744, allocations: 1.262 MB / 427.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2745, allocations: 135.7 kB / 427.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.2748, allocations: 187.9 kB / 427.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/0.2785, allocations: 2.402 MB / 430.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.2786, allocations: 11.89 kB / 430.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.2787, allocations: 72 kB / 430.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.524e-05/0.2788, allocations: 83.5 kB / 430.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.2821, allocations: 2.02 MB / 432.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.2934, allocations: 7.264 MB / 439.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.2952, allocations: 0.9753 MB / 440.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.2969, allocations: 0.8651 MB / 441.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.2971, allocations: 44.95 kB / 441.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2971, allocations: 43.56 kB / 441.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.505e-06/0.2971, allocations: 0 / 441.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009478/0.3066, allocations: 4.739 MB / 446.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3066, allocations: 60.41 kB / 446.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.3086, allocations: 1.38 MB / 447.8 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.3087, allocations: 45.7 kB / 447.8 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006924/0.3094, allocations: 0.911 MB / 448.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.3097, allocations: 368.9 kB / 449.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.31, allocations: 214.9 kB / 449.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3102, allocations: 357.9 kB / 449.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/0.3112, allocations: 0.6311 MB / 450.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3123, allocations: 0.922 MB / 451.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.3146, allocations: 1.653 MB / 452.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3146, allocations: 7.938 kB / 452.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004247/0.3188, allocations: 2.372 MB / 455.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3189, allocations: 8 kB / 455.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.3189, allocations: 8 kB / 455.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.3207, allocations: 0.7159 MB / 456 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.3217, allocations: 243.6 kB / 456.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.3328, allocations: 8.53 MB / 464.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.3343, allocations: 79.91 kB / 464.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3345, allocations: 48 kB / 464.8 MB, free: 14.59 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.001184/0.3356, allocations: 0.6302 MB / 465.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.3359, allocations: 151 kB / 465.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.3392, allocations: 1.889 MB / 467.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.3392, allocations: 8 kB / 467.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3392, allocations: 4 kB / 467.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3392, allocations: 3.984 kB / 467.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006843/0.3461, allocations: 3.976 MB / 471.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3461, allocations: 4 kB / 471.5 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007954/0.3469, allocations: 188.1 kB / 471.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.3481, allocations: 462.9 kB / 472.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.3481, allocations: 35.86 kB / 472.2 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/0.3546, allocations: 6.372 MB / 478.6 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.3546, allocations: 7.969 kB / 478.6 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.359, allocations: 2.768 MB / 481.3 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/0.36, allocations: 286.9 kB / 481.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.3603, allocations: 24 kB / 481.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/0.3613, allocations: 79.91 kB / 481.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.3615, allocations: 84.91 kB / 481.8 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/0.3616, allocations: 27.92 kB / 481.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001739/0.3633, allocations: 0.9582 MB / 482.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3633, allocations: 0 / 482.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001704/0.365, allocations: 431.9 kB / 483.2 MB, free: 11.71 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.004954/0.37, allocations: 3.408 MB / 486.6 MB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.3735, allocations: 1.945 MB / 488.6 MB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3735, allocations: 0 / 488.6 MB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.3756, allocations: 1.227 MB / 489.8 MB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.378, allocations: 388.9 kB / 490.2 MB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/0.4062, allocations: 16.34 MB / 0.4946 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/0.4082, allocations: 1.689 MB / 0.4963 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001078/0.4093, allocations: 312 kB / 0.4966 GB, free: 1.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.4104, allocations: 0.7023 MB / 0.4973 GB, free: 1.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4104, allocations: 4 kB / 0.4973 GB, free: 1.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0876/0.498, allocations: 41.18 MB / 0.5375 GB, free: 7.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.12/18.61, allocations: 8 kB / 0.5375 GB, free: 7.766 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.393930131045636]