Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001412/0.001412, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.00149/0.00149, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.028e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.03236/0.03239, allocations: 12.5 MB / 284.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.04905, allocations: 4.466 MB / 289.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.05203, allocations: 103.4 kB / 289.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1184/0.1704, allocations: 1.008 MB / 290.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.1747, allocations: 1.367 MB / 291.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.1768, allocations: 0.9178 MB / 292.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004429/0.1812, allocations: 4.335 MB / 297 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.1836, allocations: 1.737 MB / 298.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.1875, allocations: 2.86 MB / 301.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.1897, allocations: 1.762 MB / 303.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006314/0.1904, allocations: 0.506 MB / 303.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.1916, allocations: 0.7202 MB / 304.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.1923, allocations: 1.15 MB / 305.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.1936, allocations: 1.445 MB / 307.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.1983, allocations: 6.825 MB / 314 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1983, allocations: 0 / 314 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1983, allocations: 0 / 314 MB, free: 5.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.344e-05/0.1983, allocations: 0 / 314 MB, free: 5.402 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.008518/0.2069, allocations: 4.411 MB / 318.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2069, allocations: 8.031 kB / 318.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.2116, allocations: 1.25 MB / 319.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.2165, allocations: 2.491 MB / 322.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.2168, allocations: 245.9 kB / 322.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005915/0.2173, allocations: 328.3 kB / 322.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00881/0.2262, allocations: 4.423 MB / 327.2 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.785e-05/0.2262, allocations: 4 kB / 327.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.2266, allocations: 135.9 kB / 327.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.2267, allocations: 153.5 kB / 327.5 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/0.2339, allocations: 3.597 MB / 331.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.2565, allocations: 12.08 MB / 343.1 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/0.2621, allocations: 2.598 MB / 345.7 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.2647, allocations: 1.291 MB / 347 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006756/0.2714, allocations: 3.086 MB / 350.1 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.2715, allocations: 47.88 kB / 350.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 3.226e-06/0.2715, allocations: 0 / 350.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.01358/0.2851, allocations: 5.272 MB / 355.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.2852, allocations: 68.38 kB / 355.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.2882, allocations: 1.612 MB / 357.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.2884, allocations: 53.64 kB / 357.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.2899, allocations: 1.502 MB / 358.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.2905, allocations: 499.8 kB / 359.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005711/0.2911, allocations: 319.4 kB / 359.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2912, allocations: 307.1 kB / 359.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.2925, allocations: 0.6793 MB / 360.5 MB, free: 7.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.2944, allocations: 1.222 MB / 361.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/0.2979, allocations: 2.004 MB / 363.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.2979, allocations: 4 kB / 363.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005051/0.303, allocations: 2.541 MB / 366.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.303, allocations: 12 kB / 366.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.3031, allocations: 16 kB / 366.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.3044, allocations: 410.6 kB / 366.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3059, allocations: 375.4 kB / 367 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00989/0.3158, allocations: 7.842 MB / 374.9 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.3173, allocations: 75.91 kB / 374.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.3175, allocations: 76 kB / 375 MB, free: 7.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,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.002063/0.3196, allocations: 1.013 MB / 376 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005254/0.3201, allocations: 234.8 kB / 376.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/0.3249, allocations: 2.111 MB / 378.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.3249, allocations: 12 kB / 378.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.325, allocations: 12 kB / 378.4 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.325, allocations: 7.453 kB / 378.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008484/0.3335, allocations: 4.217 MB / 382.6 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.3335, allocations: 4 kB / 382.6 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.3344, allocations: 178.1 kB / 382.8 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.3364, allocations: 0.6047 MB / 383.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.3365, allocations: 35.98 kB / 383.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/0.3524, allocations: 12.41 MB / 395.8 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3524, allocations: 7.312 kB / 395.8 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/0.3585, allocations: 3.091 MB / 398.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.3595, allocations: 342.6 kB / 399.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.3597, allocations: 36 kB / 399.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/0.3606, allocations: 59.95 kB / 399.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/0.3611, allocations: 116.3 kB / 399.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.3612, allocations: 39.98 kB / 399.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001864/0.363, allocations: 1.075 MB / 400.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.363, allocations: 4 kB / 400.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002352/0.3654, allocations: 0.582 MB / 401.2 MB, free: 13.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,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): 80 * 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,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0003721/0.3658, allocations: 172.6 kB / 401.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004108/0.3699, allocations: 2.218 MB / 403.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3699, allocations: 0 / 403.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.3728, allocations: 1.681 MB / 405.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.3751, allocations: 476.5 kB / 405.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.3867, allocations: 5.763 MB / 411.5 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/0.3891, allocations: 1.756 MB / 413.2 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001403/0.3905, allocations: 379.5 kB / 413.6 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3908, allocations: 120.5 kB / 413.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3908, allocations: 0 / 413.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of Templates: time 0.1597/0.5506, allocations: 27.84 MB / 441.6 MB, free: 111.7 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 5.743148764944635]