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.001831/0.001831, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.002774/0.002774, allocations: 216.7 kB / 24.5 MB, free: 4.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.672/1.672, allocations: 207.6 MB / 235.3 MB, free: 10.01 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",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.002874/0.002874, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3704, allocations: 49.15 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01204/0.3824, allocations: 9.434 MB / 405.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006944/0.3894, allocations: 3.043 MB / 408.8 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.3913, allocations: 54.31 kB / 408.9 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.3937, allocations: 0.6815 MB / 409.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.3974, allocations: 0.8173 MB / 410.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3986, allocations: 359 kB / 410.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.4037, allocations: 2.688 MB / 413.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.4057, allocations: 1.103 MB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.4088, allocations: 1.221 MB / 415.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.4126, allocations: 1.532 MB / 417.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.4139, allocations: 308.2 kB / 417.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.4164, allocations: 403.7 kB / 418 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00284/0.4193, allocations: 0.8974 MB / 418.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005002/0.4243, allocations: 1.408 MB / 420.3 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.433, allocations: 4.1 MB / 424.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.433, allocations: 0 / 424.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.433, allocations: 0 / 424.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002595/0.4332, allocations: 0 / 424.4 MB, free: 6.48 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.01205/0.4453, allocations: 2.839 MB / 427.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.4454, allocations: 15.97 kB / 427.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001551/0.4469, allocations: 295.5 kB / 427.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.4487, allocations: 303.2 kB / 427.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/0.4532, allocations: 1.386 MB / 429.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.4534, allocations: 156.4 kB / 429.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008159/0.4542, allocations: 219.8 kB / 429.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007636/0.4618, allocations: 2.724 MB / 432.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.4619, allocations: 7.984 kB / 432.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/0.4624, allocations: 83.91 kB / 432.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.4625, allocations: 91.94 kB / 432.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005826/0.4683, allocations: 2.33 MB / 434.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.4882, allocations: 8.204 MB / 443 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.4908, allocations: 1.239 MB / 444.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.4931, allocations: 1.008 MB / 445.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.4934, allocations: 52.91 kB / 445.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.4934, allocations: 47.56 kB / 445.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.4934, allocations: 0 / 445.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01544/0.5089, allocations: 5.963 MB / 451.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.5089, allocations: 68.39 kB / 451.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.5123, allocations: 1.52 MB / 452.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.5125, allocations: 45.7 kB / 453 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.5136, allocations: 1.005 MB / 454 MB, free: 9.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005538/0.5141, allocations: 436.3 kB / 454.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005808/0.5147, allocations: 255.5 kB / 454.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.5149, allocations: 365.9 kB / 455 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.5163, allocations: 0.7261 MB / 455.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.5179, allocations: 1.055 MB / 456.8 MB, free: 6.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/0.521, allocations: 1.875 MB / 458.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.521, allocations: 4 kB / 458.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004751/0.5257, allocations: 2.35 MB / 461 MB, free: 1.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.5258, allocations: 8 kB / 461 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.5258, allocations: 12.34 kB / 461 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.5269, allocations: 411.1 kB / 461.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.5283, allocations: 331.5 kB / 461.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/0.5345, allocations: 4.845 MB / 466.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.5363, allocations: 95.86 kB / 466.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/0.5366, allocations: 55.98 kB / 466.7 MB, free: 11.75 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.001946/0.5386, allocations: 0.7119 MB / 467.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/0.5392, allocations: 163 kB / 467.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/0.5437, allocations: 2.137 MB / 469.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.5438, allocations: 12 kB / 469.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.5438, allocations: 4 kB / 469.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.5438, allocations: 7.984 kB / 469.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5542, allocations: 4.529 MB / 474.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.5542, allocations: 4 kB / 474.3 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5553, allocations: 227.9 kB / 474.5 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.5566, allocations: 474.8 kB / 475 MB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.5568, allocations: 31.98 kB / 475 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007766/0.5645, allocations: 6.383 MB / 481.4 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.5645, allocations: 7.938 kB / 481.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/0.5708, allocations: 3.173 MB / 484.6 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.5727, allocations: 334.8 kB / 484.9 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007527/0.5734, allocations: 31.98 kB / 484.9 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.5748, allocations: 71.92 kB / 485 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/0.5752, allocations: 116.6 kB / 485.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5753, allocations: 35.98 kB / 485.2 MB, free: 8.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002444/0.5777, allocations: 1.052 MB / 486.2 MB, free: 7.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5777, allocations: 0 / 486.2 MB, free: 7.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002531/0.5802, allocations: 459.9 kB / 486.7 MB, free: 7.277 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.006669/0.5869, allocations: 3.815 MB / 490.5 MB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.591, allocations: 2.052 MB / 492.5 MB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.591, allocations: 0 / 492.5 MB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.5936, allocations: 1.359 MB / 493.9 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.5967, allocations: 445.1 kB / 494.3 MB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/0.634, allocations: 17.45 MB / 0.4998 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.6369, allocations: 1.815 MB / 0.5016 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001565/0.6385, allocations: 397.5 kB / 0.5019 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.6399, allocations: 0.7961 MB / 0.5027 GB, free: 10.41 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6399, allocations: 0 / 0.5027 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.7571, allocations: 44.66 MB / 0.5463 GB, free: 13.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.13/22.88, allocations: 3.938 kB / 0.5463 GB, free: 13.62 MB / 478.1 MB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.876844268059358]