Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001547/0.001547, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001733/0.001733, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 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.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.588e-05, allocations: 6.312 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1464/0.1464, allocations: 23.23 MB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.1622, allocations: 7.885 MB / 303.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.1666, allocations: 236.2 kB / 303.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01803/0.1846, allocations: 9.242 MB / 312.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009885/0.1945, allocations: 3.425 MB / 316.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.1994, allocations: 1.821 MB / 318.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0171/0.2165, allocations: 12.76 MB / 330.8 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02879/0.2453, allocations: 15.88 MB / 346.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01726/0.2626, allocations: 9.712 MB / 356.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.2746, allocations: 6.276 MB / 362.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00434/0.2789, allocations: 1.832 MB / 364.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/0.2855, allocations: 2.233 MB / 366.8 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004592/0.29, allocations: 3.67 MB / 370.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009453/0.2995, allocations: 4.632 MB / 375.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0335/0.333, allocations: 25.13 MB / 400.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.333, allocations: 0 / 400.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.333, allocations: 0 / 400.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004889/0.3335, allocations: 0 / 400.2 MB, free: 1.879 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04227/0.3758, allocations: 14.55 MB / 414.8 MB, free: 3.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3758, allocations: 15.98 kB / 414.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05142/0.4272, allocations: 10.36 MB / 425.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/0.4464, allocations: 8.129 MB / 433.3 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2125/0.6589, allocations: 0.8024 MB / 434.1 MB, free: 105.2 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00384/0.6627, allocations: 1.065 MB / 435.1 MB, free: 105.2 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/0.6976, allocations: 18.55 MB / 453.7 MB, free: 98.59 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/0.6978, allocations: 12.94 kB / 453.7 MB, free: 98.59 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.6993, allocations: 449.2 kB / 454.1 MB, free: 98.26 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005023/0.6998, allocations: 0.6728 MB / 454.8 MB, free: 98.18 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/0.7252, allocations: 17.48 MB / 472.3 MB, free: 83.99 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07202/0.7972, allocations: 51.72 MB / 0.5117 GB, free: 32.27 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/0.8157, allocations: 12.72 MB / 0.5241 GB, free: 21.59 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004418/0.8202, allocations: 3.74 MB / 0.5278 GB, free: 17.84 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.8205, allocations: 159.9 kB / 0.5279 GB, free: 17.68 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.8206, allocations: 90.62 kB / 0.528 GB, free: 17.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 9.728e-06/0.8206, allocations: 3.938 kB / 0.528 GB, free: 17.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.03961/0.8602, allocations: 21.42 MB / 0.549 GB, free: 12.38 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8603, allocations: 103.5 kB / 0.5491 GB, free: 12.27 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006443/0.8667, allocations: 4.005 MB / 0.553 GB, free: 8.379 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005338/0.8673, allocations: 113.7 kB / 0.5531 GB, free: 8.262 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004098/0.8714, allocations: 4.671 MB / 0.5576 GB, free: 3.758 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002215/0.8736, allocations: 1.842 MB / 0.5594 GB, free: 1.941 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002393/0.876, allocations: 1.355 MB / 0.5608 GB, free: 0.5781 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8761, allocations: 305.1 kB / 0.561 GB, free: 284 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006106/0.8822, allocations: 3.43 MB / 0.5644 GB, free: 12.84 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009032/0.8913, allocations: 5.906 MB / 0.5702 GB, free: 5.836 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1306/1.022, allocations: 10.01 MB / 0.5799 GB, free: 117.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-05/1.022, allocations: 21.94 kB / 0.58 GB, free: 117.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01692/1.039, allocations: 11.22 MB / 0.5909 GB, free: 113.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/1.039, allocations: 40.47 kB / 0.591 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.42e-05/1.039, allocations: 78.27 kB / 0.591 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00417/1.043, allocations: 1.625 MB / 0.5926 GB, free: 112.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005191/1.048, allocations: 1.616 MB / 0.5942 GB, free: 112.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/1.062, allocations: 11 MB / 0.6049 GB, free: 107 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/1.067, allocations: 397.8 kB / 0.6053 GB, free: 106.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/1.067, allocations: 344.7 kB / 0.6056 GB, free: 106.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004967/1.072, allocations: 4.164 MB / 0.6097 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.073, allocations: 0.6314 MB / 0.6103 GB, free: 104.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.086, allocations: 8.378 MB / 0.6185 GB, free: 100.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009062/1.095, allocations: 7.029 MB / 0.6254 GB, free: 94.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/1.095, allocations: 14.12 kB / 0.6254 GB, free: 94.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-05/1.095, allocations: 25.78 kB / 0.6254 GB, free: 94.39 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02358/1.118, allocations: 16.14 MB / 0.6412 GB, free: 79.76 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.118, allocations: 0 / 0.6412 GB, free: 79.76 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/1.122, allocations: 0.9478 MB / 0.6421 GB, free: 78.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003857/1.126, allocations: 1.464 MB / 0.6435 GB, free: 77.34 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/1.126, allocations: 116 kB / 0.6436 GB, free: 77.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/1.138, allocations: 9.728 MB / 0.6531 GB, free: 67.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.138, allocations: 3.938 kB / 0.6531 GB, free: 67.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/1.153, allocations: 12.38 MB / 0.6652 GB, free: 55.09 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/1.156, allocations: 1.104 MB / 0.6663 GB, free: 53.99 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006468/1.157, allocations: 95.39 kB / 0.6664 GB, free: 53.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/1.159, allocations: 267.8 kB / 0.6667 GB, free: 53.64 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007278/1.16, allocations: 376.2 kB / 0.667 GB, free: 53.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/1.16, allocations: 156 kB / 0.6672 GB, free: 53.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002925/1.163, allocations: 2.579 MB / 0.6697 GB, free: 50.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/1.163, allocations: 0 / 0.6697 GB, free: 50.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005445/1.168, allocations: 1.92 MB / 0.6716 GB, free: 48.64 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006308/1.169, allocations: 303.9 kB / 0.6718 GB, free: 48.34 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01106/1.18, allocations: 8.372 MB / 0.68 GB, free: 39.91 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.18, allocations: 0 / 0.68 GB, free: 39.91 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00546/1.185, allocations: 3.89 MB / 0.6838 GB, free: 36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/1.19, allocations: 1.057 MB / 0.6849 GB, free: 35.01 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/1.215, allocations: 19.67 MB / 0.7041 GB, free: 15.19 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005559/1.221, allocations: 6.577 MB / 0.7105 GB, free: 8.551 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005112/1.226, allocations: 2.292 MB / 0.7127 GB, free: 6.25 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.227, allocations: 432.4 kB / 0.7131 GB, free: 5.828 MB / 410.8 MB Notification: Performance of SimCode: time 1.603e-06/1.227, allocations: 0 / 0.7131 GB, free: 5.828 MB / 410.8 MB Notification: Performance of Templates: time 0.2414/1.469, allocations: 71.78 MB / 0.7832 GB, free: 100.6 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 8.053116277093068]