Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001334/0.001334, allocations: 83.69 kB / 22 MB, free: 5.18 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.001391/0.001391, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.281/1.281, allocations: 158.6 MB / 187 MB, free: 6.48 MB / 174.1 MB " [Timeout remaining time 179] 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: 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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [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.001946/0.001946, allocations: 51.92 kB / 299.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2362, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0316/0.2678, allocations: 23.26 MB / 371.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01845/0.2862, allocations: 7.717 MB / 379.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.2912, allocations: 202.9 kB / 379.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02522/0.3164, allocations: 9.215 MB / 388.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.3283, allocations: 3.412 MB / 392.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005509/0.3338, allocations: 1.832 MB / 394.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01639/0.3502, allocations: 12.4 MB / 406.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02632/0.3765, allocations: 15.88 MB / 422.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009338/0.3858, allocations: 6.725 MB / 429.2 MB, free: 128 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.3975, allocations: 7.05 MB / 436.2 MB, free: 9.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003733/0.4012, allocations: 1.848 MB / 438.1 MB, free: 7.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005101/0.4063, allocations: 2.199 MB / 440.3 MB, free: 5.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003783/0.4101, allocations: 3.663 MB / 443.9 MB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007882/0.418, allocations: 5.432 MB / 449.4 MB, free: 11.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02633/0.4443, allocations: 24.89 MB / 474.3 MB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4443, allocations: 0 / 474.3 MB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4443, allocations: 3.938 kB / 474.3 MB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00047/0.4448, allocations: 0 / 474.3 MB, free: 2.914 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04057/0.4854, allocations: 14.83 MB / 489.1 MB, free: 3.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4854, allocations: 8.031 kB / 489.1 MB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3701/0.8555, allocations: 9.536 MB / 498.6 MB, free: 109.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/0.8687, allocations: 7.033 MB / 0.4938 GB, free: 105.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/0.8692, allocations: 0.8195 MB / 0.4946 GB, free: 105.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003421/0.8726, allocations: 1.07 MB / 0.4957 GB, free: 105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/0.9103, allocations: 18.96 MB / 0.5142 GB, free: 86.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004392/0.9107, allocations: 23.84 kB / 0.5142 GB, free: 86.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/0.9138, allocations: 458.6 kB / 0.5146 GB, free: 85.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005959/0.9144, allocations: 0.6988 MB / 0.5153 GB, free: 84.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03062/0.945, allocations: 18.1 MB / 0.533 GB, free: 66.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08037/1.025, allocations: 51.22 MB / 0.583 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02442/1.05, allocations: 14.59 MB / 0.5973 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005731/1.055, allocations: 3.876 MB / 0.6011 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02373/1.079, allocations: 11.15 MB / 0.612 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/1.079, allocations: 73.58 kB / 0.612 GB, free: 4.348 MB / 462.1 MB Notification: Performance of pre-optimization done (n=385): time 6.983e-06/1.079, allocations: 0 / 0.612 GB, free: 4.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=391): time 0.04722/1.127, allocations: 19.05 MB / 0.6306 GB, free: 1.281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/1.127, allocations: 90.47 kB / 0.6307 GB, free: 1.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/1.134, allocations: 4.174 MB / 0.6348 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003706/1.134, allocations: 89.7 kB / 0.6349 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003714/1.138, allocations: 5.014 MB / 0.6398 GB, free: 7.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.139, allocations: 1.414 MB / 0.6412 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00244/1.142, allocations: 1.275 MB / 0.6424 GB, free: 5.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/1.142, allocations: 301.1 kB / 0.6427 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005204/1.147, allocations: 3.108 MB / 0.6457 GB, free: 1.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007382/1.154, allocations: 5.749 MB / 0.6513 GB, free: 10.76 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/1.168, allocations: 9.427 MB / 0.6605 GB, free: 100 kB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.456e-05/1.168, allocations: 24 kB / 0.6606 GB, free: 76 kB / 0.4982 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0185/1.187, allocations: 10.18 MB / 0.6705 GB, free: 5.875 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/1.187, allocations: 43.94 kB / 0.6705 GB, free: 5.832 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.187, allocations: 88 kB / 0.6706 GB, free: 5.746 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/1.191, allocations: 1.385 MB / 0.672 GB, free: 4.359 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005305/1.196, allocations: 1.466 MB / 0.6734 GB, free: 2.891 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.214, allocations: 10.89 MB / 0.684 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/1.218, allocations: 395.5 kB / 0.6844 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/1.219, allocations: 331.9 kB / 0.6847 GB, free: 7.168 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007519/1.227, allocations: 4.18 MB / 0.6888 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.228, allocations: 441.1 kB / 0.6892 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1951/1.423, allocations: 7.25 MB / 0.6963 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008152/1.431, allocations: 5.953 MB / 0.7021 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.431, allocations: 12.78 kB / 0.7021 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/1.431, allocations: 29.8 kB / 0.7022 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.451, allocations: 13.78 MB / 0.7156 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.451, allocations: 0 / 0.7156 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/1.454, allocations: 0.7307 MB / 0.7163 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/1.457, allocations: 1.223 MB / 0.7175 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/1.457, allocations: 89.41 kB / 0.7176 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.469, allocations: 9.664 MB / 0.7271 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.469, allocations: 0 / 0.7271 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.483, allocations: 10.45 MB / 0.7373 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/1.485, allocations: 0.9693 MB / 0.7382 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/1.485, allocations: 68 kB / 0.7383 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.487, allocations: 249.5 kB / 0.7385 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/1.488, allocations: 283.4 kB / 0.7388 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.488, allocations: 116 kB / 0.7389 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002879/1.491, allocations: 2.672 MB / 0.7415 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.491, allocations: 0 / 0.7415 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004682/1.496, allocations: 1.816 MB / 0.7433 GB, free: 154 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0004534/1.496, allocations: 265 kB / 0.7435 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00976/1.506, allocations: 7.547 MB / 0.7509 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.506, allocations: 0 / 0.7509 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/1.511, allocations: 3.358 MB / 0.7542 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/1.515, allocations: 0.9688 MB / 0.7551 GB, free: 142 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/1.541, allocations: 19.11 MB / 0.7738 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007378/1.549, allocations: 6.607 MB / 0.7802 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005338/1.554, allocations: 2.219 MB / 0.7824 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009803/1.555, allocations: 356.4 kB / 0.7828 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/1.555, allocations: 0 / 0.7828 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.09842/1.654, allocations: 63.79 MB / 0.8451 GB, free: 49.76 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.531470508896746]