Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001451/0.001451, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.00174/0.00174, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.624/1.624, allocations: 207.6 MB / 235.3 MB, free: 10 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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.002236/0.002236, allocations: 59.22 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3306, allocations: 49.16 MB / 396.4 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01264/0.3432, allocations: 9.734 MB / 406.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008846/0.3521, allocations: 3.09 MB / 409.2 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.3547, allocations: 50.23 kB / 409.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.3577, allocations: 0.6724 MB / 409.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.362, allocations: 0.7869 MB / 410.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.3637, allocations: 388.4 kB / 411.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00481/0.3685, allocations: 2.46 MB / 413.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.3707, allocations: 1.027 MB / 414.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.3732, allocations: 1.105 MB / 415.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.376, allocations: 1.343 MB / 417 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007434/0.3767, allocations: 278.8 kB / 417.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.3781, allocations: 372 kB / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009348/0.3791, allocations: 0.7897 MB / 418.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.3809, allocations: 1.269 MB / 419.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.3858, allocations: 3.655 MB / 423.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3858, allocations: 0 / 423.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3858, allocations: 0 / 423.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.03e-05/0.3859, allocations: 3.938 kB / 423.4 MB, free: 7.152 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00567/0.3916, allocations: 2.558 MB / 425.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.3916, allocations: 13.7 kB / 425.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003948/0.392, allocations: 286 kB / 426.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.3928, allocations: 278.3 kB / 426.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.3953, allocations: 1.194 MB / 427.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.3955, allocations: 144.1 kB / 427.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.3958, allocations: 199.9 kB / 428 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005163/0.4009, allocations: 2.419 MB / 430.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/0.401, allocations: 8 kB / 430.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.4012, allocations: 75.98 kB / 430.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.4013, allocations: 91.69 kB / 430.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.4051, allocations: 1.962 MB / 432.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.419, allocations: 7.641 MB / 440.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.421, allocations: 1.017 MB / 441.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.423, allocations: 0.9094 MB / 442.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.4232, allocations: 44.97 kB / 442.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.4233, allocations: 51.5 kB / 442.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.985e-06/0.4233, allocations: 0 / 442.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01352/0.4368, allocations: 5.509 MB / 447.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.4369, allocations: 72.34 kB / 447.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.4393, allocations: 1.298 MB / 449.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.4395, allocations: 49.7 kB / 449.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000894/0.4404, allocations: 0.9341 MB / 450.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004793/0.4409, allocations: 420.5 kB / 450.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.4413, allocations: 243.5 kB / 450.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4416, allocations: 353.9 kB / 451.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4428, allocations: 0.6403 MB / 451.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.4441, allocations: 1.012 MB / 452.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.4467, allocations: 1.727 MB / 454.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.4467, allocations: 4 kB / 454.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004288/0.451, allocations: 2.242 MB / 456.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.451, allocations: 12 kB / 456.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.451, allocations: 16.31 kB / 456.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.4523, allocations: 491.9 kB / 457.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.4534, allocations: 303.5 kB / 457.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007826/0.4612, allocations: 6.808 MB / 464.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4627, allocations: 91.94 kB / 464.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4628, allocations: 55.98 kB / 464.5 MB, free: 14.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.4642, allocations: 0.6026 MB / 465.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.4646, allocations: 151.2 kB / 465.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.4683, allocations: 1.96 MB / 467.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.4683, allocations: 15.94 kB / 467.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4683, allocations: 4 kB / 467.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.4684, allocations: 11.91 kB / 467.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007706/0.4761, allocations: 4.081 MB / 471.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4761, allocations: 4.281 kB / 471.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.4769, allocations: 183.8 kB / 471.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.4784, allocations: 0.5387 MB / 472 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.4785, allocations: 35.92 kB / 472.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008944/0.4874, allocations: 8.336 MB / 480.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.4874, allocations: 15.97 kB / 480.4 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.4924, allocations: 2.844 MB / 483.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.4935, allocations: 286.8 kB / 483.5 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.4937, allocations: 28 kB / 483.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.4945, allocations: 67.92 kB / 483.6 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.4948, allocations: 92.77 kB / 483.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.4949, allocations: 35.98 kB / 483.7 MB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.4963, allocations: 0.8878 MB / 484.6 MB, free: 9.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4963, allocations: 0 / 484.6 MB, free: 9.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001679/0.4979, allocations: 436 kB / 485.1 MB, free: 8.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.005233/0.5032, allocations: 3.471 MB / 488.5 MB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.5069, allocations: 2.008 MB / 490.5 MB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5069, allocations: 192 / 490.5 MB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002505/0.5094, allocations: 1.387 MB / 491.9 MB, free: 1.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.5117, allocations: 420.5 kB / 492.3 MB, free: 1.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/0.5381, allocations: 15.68 MB / 0.4961 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.5396, allocations: 1.65 MB / 0.4977 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.5408, allocations: 320.8 kB / 0.498 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.5419, allocations: 0.718 MB / 0.4987 GB, free: 14.4 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5419, allocations: 4 kB / 0.4987 GB, free: 14.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.6499, allocations: 40.92 MB / 0.5387 GB, free: 5.359 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.32/21.97, allocations: 8.047 kB / 0.5387 GB, free: 5.352 MB / 462.1 MB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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: 25.8898367411457]