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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 121.4 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 189.2 kB / 21.39 MB, free: 1.543 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.414/1.414, allocations: 207.6 MB / 231.8 MB, free: 4.023 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 55.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.0884, allocations: 49.12 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01085/0.09925, allocations: 8.912 MB / 400.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005415/0.1047, allocations: 2.926 MB / 403.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008554/0.1055, allocations: 39.81 kB / 403.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.107, allocations: 0.6407 MB / 403.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.1089, allocations: 0.7691 MB / 404.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006823/0.1095, allocations: 323.5 kB / 405 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.1122, allocations: 2.389 MB / 407.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.1138, allocations: 1.25 MB / 408.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.1153, allocations: 1.071 MB / 409.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.1173, allocations: 1.378 MB / 411.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.1177, allocations: 280 kB / 411.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.1183, allocations: 375.8 kB / 411.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008386/0.1192, allocations: 0.8025 MB / 412.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.1206, allocations: 1.264 MB / 413.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.1246, allocations: 3.69 MB / 417.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1246, allocations: 0 / 417.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1246, allocations: 0 / 417.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.021e-05/0.1247, allocations: 0 / 417.5 MB, free: 14.47 MB / 350.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.00555/0.1303, allocations: 2.631 MB / 420.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1303, allocations: 12.03 kB / 420.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.1307, allocations: 265.9 kB / 420.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.1314, allocations: 279.4 kB / 420.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.134, allocations: 1.312 MB / 422 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1342, allocations: 132 kB / 422.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.1344, allocations: 195.8 kB / 422.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.1384, allocations: 2.41 MB / 424.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.1385, allocations: 7.953 kB / 424.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.1386, allocations: 72 kB / 424.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.1387, allocations: 87.48 kB / 424.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.1421, allocations: 2.02 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.154, allocations: 7.392 MB / 434.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.1558, allocations: 1.213 MB / 435.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.1575, allocations: 0.8651 MB / 436.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.1577, allocations: 114.1 kB / 436.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1578, allocations: 43.56 kB / 436.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.1578, allocations: 4 kB / 436.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009616/0.1674, allocations: 5.016 MB / 441.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1674, allocations: 68.41 kB / 441.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.1696, allocations: 1.384 MB / 443 MB, free: 4.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.1697, allocations: 41.7 kB / 443 MB, free: 4.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/0.1704, allocations: 0.9187 MB / 443.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.1707, allocations: 368.9 kB / 444.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.1711, allocations: 210.9 kB / 444.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.1713, allocations: 353.9 kB / 444.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.1724, allocations: 0.6349 MB / 445.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.1737, allocations: 0.9298 MB / 446.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.1761, allocations: 1.649 MB / 448.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1761, allocations: 0 / 448.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004364/0.1804, allocations: 2.376 MB / 450.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.1805, allocations: 15.94 kB / 450.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.1805, allocations: 8 kB / 450.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.1822, allocations: 0.708 MB / 451.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.1831, allocations: 231.6 kB / 451.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.1944, allocations: 8.757 MB / 460.1 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.1955, allocations: 79.91 kB / 460.2 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.1956, allocations: 44 kB / 460.3 MB, free: 2.496 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.001112/0.1967, allocations: 0.6262 MB / 460.9 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.197, allocations: 155.1 kB / 461 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1803/0.3773, allocations: 1.882 MB / 462.9 MB, free: 63.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.3774, allocations: 9.688 kB / 462.9 MB, free: 63.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.3774, allocations: 6.438 kB / 462.9 MB, free: 63.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.3774, allocations: 4.281 kB / 462.9 MB, free: 63.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008157/0.3856, allocations: 3.997 MB / 466.9 MB, free: 62.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3856, allocations: 2.312 kB / 466.9 MB, free: 62.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.3863, allocations: 187.8 kB / 467.1 MB, free: 62.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.3876, allocations: 468.1 kB / 467.6 MB, free: 62.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.3877, allocations: 25.48 kB / 467.6 MB, free: 62.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.3936, allocations: 6.695 MB / 474.3 MB, free: 57.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3936, allocations: 2.281 kB / 474.3 MB, free: 57.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/0.3978, allocations: 2.778 MB / 477.1 MB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009994/0.3988, allocations: 363.5 kB / 477.4 MB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.399, allocations: 24.2 kB / 477.5 MB, free: 55.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.3998, allocations: 72.42 kB / 477.5 MB, free: 55.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.4, allocations: 87.45 kB / 477.6 MB, free: 55.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.4001, allocations: 28.19 kB / 477.6 MB, free: 55.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.4014, allocations: 0.9556 MB / 478.6 MB, free: 55.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4014, allocations: 0 / 478.6 MB, free: 55.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001295/0.4027, allocations: 437.1 kB / 479 MB, free: 55.47 MB / 382.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.003696/0.4063, allocations: 3.395 MB / 482.4 MB, free: 53.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.4092, allocations: 1.946 MB / 484.4 MB, free: 53.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.4092, allocations: 0 / 484.4 MB, free: 53.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.4107, allocations: 1.297 MB / 485.7 MB, free: 52.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.4124, allocations: 391.6 kB / 486 MB, free: 52.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.4304, allocations: 16.33 MB / 0.4906 GB, free: 37.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/0.4314, allocations: 1.693 MB / 0.4923 GB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007912/0.4322, allocations: 316 kB / 0.4926 GB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/0.4328, allocations: 0.7023 MB / 0.4932 GB, free: 34.29 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4328, allocations: 0 / 0.4932 GB, free: 34.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08401/0.5168, allocations: 40.19 MB / 0.5325 GB, free: 9.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.16/17.67, allocations: 16.47 kB / 0.5325 GB, free: 9.977 MB / 398.1 MB " [Timeout remaining time 642] (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_2/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_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.105815982911736]