Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 67.88 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3252, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0225/0.3477, allocations: 17.61 MB / 448.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3626, allocations: 6.007 MB / 454.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005126/0.3677, allocations: 143.1 kB / 455 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005333/0.373, allocations: 1.41 MB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007799/0.3808, allocations: 1.861 MB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.385, allocations: 1.113 MB / 459.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.396, allocations: 6.394 MB / 465.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006977/0.403, allocations: 2.858 MB / 468.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006805/0.4098, allocations: 3.047 MB / 471.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006952/0.4167, allocations: 3.53 MB / 475.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002872/0.4196, allocations: 0.7929 MB / 476 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.424, allocations: 1.089 MB / 477.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003652/0.4276, allocations: 1.885 MB / 478.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007267/0.4349, allocations: 3.369 MB / 482.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.4532, allocations: 10.63 MB / 492.9 MB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.4532, allocations: 0 / 492.9 MB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4532, allocations: 0 / 492.9 MB, free: 8.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003981/0.4536, allocations: 0 / 492.9 MB, free: 8.664 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.02287/0.4764, allocations: 6.635 MB / 499.6 MB, free: 1.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4765, allocations: 12.03 kB / 499.6 MB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002432/0.4789, allocations: 0.6752 MB / 0.4885 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006001/0.4849, allocations: 1.094 MB / 0.4896 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008702/0.4936, allocations: 3.647 MB / 0.4932 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.494, allocations: 377.9 kB / 0.4935 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.4956, allocations: 479.9 kB / 0.494 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.5122, allocations: 6.912 MB / 0.5007 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.5123, allocations: 4 kB / 0.5007 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/0.5129, allocations: 200 kB / 0.5009 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/0.5131, allocations: 253.8 kB / 0.5012 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.526, allocations: 5.965 MB / 0.507 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03968/0.5657, allocations: 20.77 MB / 0.5273 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007912/0.5736, allocations: 4.478 MB / 0.5317 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/0.5777, allocations: 2.294 MB / 0.5339 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/0.8273, allocations: 6.238 MB / 0.54 GB, free: 94.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.8273, allocations: 58.05 kB / 0.54 GB, free: 94.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.138e-06/0.8273, allocations: 0 / 0.54 GB, free: 94.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.01731/0.8447, allocations: 8.992 MB / 0.5488 GB, free: 91.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.8447, allocations: 78.2 kB / 0.5489 GB, free: 91.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/0.8491, allocations: 3.017 MB / 0.5518 GB, free: 90.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.8493, allocations: 67.11 kB / 0.5519 GB, free: 90.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.8507, allocations: 2.236 MB / 0.5541 GB, free: 88.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006114/0.8513, allocations: 0.7995 MB / 0.5549 GB, free: 88.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006405/0.8519, allocations: 465.6 kB / 0.5553 GB, free: 88.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.852, allocations: 304.8 kB / 0.5556 GB, free: 87.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.8536, allocations: 1.285 MB / 0.5569 GB, free: 87.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.8555, allocations: 1.919 MB / 0.5587 GB, free: 86.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.8591, allocations: 3.35 MB / 0.562 GB, free: 83.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.8591, allocations: 8 kB / 0.562 GB, free: 83.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006101/0.8652, allocations: 4.169 MB / 0.5661 GB, free: 79.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.8652, allocations: 12 kB / 0.5661 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.8652, allocations: 16 kB / 0.5661 GB, free: 79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.8675, allocations: 0.7726 MB / 0.5669 GB, free: 78.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.8696, allocations: 0.5694 MB / 0.5674 GB, free: 77.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.8779, allocations: 10.45 MB / 0.5776 GB, free: 66.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.8806, allocations: 103.9 kB / 0.5777 GB, free: 66.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.881, allocations: 104 kB / 0.5778 GB, free: 66.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (278): * Single equations (assignments): 273 * 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 {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002826/0.8838, allocations: 1.623 MB / 0.5794 GB, free: 64.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008539/0.8847, allocations: 333.9 kB / 0.5797 GB, free: 64.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/0.8902, allocations: 3.748 MB / 0.5834 GB, free: 60.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.8903, allocations: 24 kB / 0.5834 GB, free: 60.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.8903, allocations: 12.81 kB / 0.5834 GB, free: 60.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.8903, allocations: 11.97 kB / 0.5834 GB, free: 60.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.9029, allocations: 8.4 MB / 0.5916 GB, free: 52.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.9029, allocations: 0 / 0.5916 GB, free: 52.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.9044, allocations: 347.5 kB / 0.592 GB, free: 52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/0.9071, allocations: 0.9415 MB / 0.5929 GB, free: 51.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/0.9073, allocations: 62.66 kB / 0.593 GB, free: 50.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.9188, allocations: 15.13 MB / 0.6077 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9188, allocations: 12 kB / 0.6077 GB, free: 35.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007601/0.9264, allocations: 5.542 MB / 0.6131 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/0.9284, allocations: 0.6344 MB / 0.6138 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006354/0.9291, allocations: 59.92 kB / 0.6138 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.9305, allocations: 107.9 kB / 0.6139 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/0.931, allocations: 193.6 kB / 0.6141 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.9311, allocations: 67.98 kB / 0.6142 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002686/0.9338, allocations: 2.079 MB / 0.6162 GB, free: 26.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9338, allocations: 4.094 kB / 0.6162 GB, free: 26.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003397/0.9372, allocations: 0.951 MB / 0.6171 GB, free: 25.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007824/0.945, allocations: 6.251 MB / 0.6232 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005152/0.9502, allocations: 3.71 MB / 0.6269 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.9502, allocations: 7.938 kB / 0.6269 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.9534, allocations: 2.548 MB / 0.6294 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/0.9573, allocations: 0.9278 MB / 0.6303 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05827/1.016, allocations: 33.76 MB / 0.6632 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004407/1.02, allocations: 3.45 MB / 0.6666 GB, free: 5.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002649/1.023, allocations: 0.7606 MB / 0.6673 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002891/1.025, allocations: 1.854 MB / 0.6692 GB, free: 3.219 MB / 478.1 MB Notification: Performance of SimCode: time 1.974e-06/1.025, allocations: 0 / 0.6692 GB, free: 3.219 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4235/1.449, allocations: 88.54 MB / 0.7556 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.71, allocations: 11.34 kB / 0.7556 GB, free: 173.8 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 29.925022386945784]