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.001396/0.001396, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001593/0.001593, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.563/1.563, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.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: 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 299 MB, free: 8.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.133e-05, allocations: 2.281 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03004/0.03007, allocations: 23.27 MB / 322.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2367/0.2668, allocations: 7.708 MB / 330 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008217/0.275, allocations: 203.1 kB / 330.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02387/0.2988, allocations: 9.243 MB / 339.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01663/0.3155, allocations: 3.484 MB / 342.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007518/0.323, allocations: 1.835 MB / 344.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01946/0.3425, allocations: 12.83 MB / 357.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03593/0.3784, allocations: 15.93 MB / 373.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03075/0.4091, allocations: 9.822 MB / 383.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0169/0.426, allocations: 6.369 MB / 389.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006523/0.4326, allocations: 1.844 MB / 391.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.4426, allocations: 2.233 MB / 393.8 MB, free: 288 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00782/0.4504, allocations: 3.738 MB / 397.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01572/0.4662, allocations: 4.679 MB / 402.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04129/0.5074, allocations: 25.12 MB / 427.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.5075, allocations: 0 / 427.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.81e-06/0.5075, allocations: 3.984 kB / 427.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007571/0.5082, allocations: 0 / 427.3 MB, free: 14.66 MB / 382.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.05224/0.5605, allocations: 14.71 MB / 442 MB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.5605, allocations: 11.98 kB / 442 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05582/0.6163, allocations: 9.54 MB / 451.6 MB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/0.6343, allocations: 7.029 MB / 458.6 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008903/0.6352, allocations: 0.8188 MB / 459.4 MB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005077/0.6402, allocations: 1.078 MB / 460.5 MB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05199/0.6922, allocations: 18.96 MB / 479.4 MB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004086/0.6926, allocations: 11.95 kB / 479.4 MB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004092/0.6967, allocations: 455.9 kB / 479.9 MB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008879/0.6976, allocations: 0.6988 MB / 480.6 MB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4042/1.102, allocations: 18.1 MB / 498.7 MB, free: 121.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.202, allocations: 51.21 MB / 0.537 GB, free: 85.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02447/1.226, allocations: 14.6 MB / 0.5513 GB, free: 73.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/1.232, allocations: 3.878 MB / 0.5551 GB, free: 69.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/1.25, allocations: 11.15 MB / 0.5659 GB, free: 59.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/1.25, allocations: 73.58 kB / 0.566 GB, free: 58.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=385): time 7.935e-06/1.25, allocations: 3.938 kB / 0.566 GB, free: 58.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=391): time 0.0401/1.29, allocations: 19.03 MB / 0.5846 GB, free: 40.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/1.29, allocations: 98.39 kB / 0.5847 GB, free: 40.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/1.295, allocations: 4.176 MB / 0.5888 GB, free: 36.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00088/1.296, allocations: 89.7 kB / 0.5889 GB, free: 36.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/1.298, allocations: 4.989 MB / 0.5937 GB, free: 31.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001624/1.3, allocations: 1.401 MB / 0.5951 GB, free: 29.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001904/1.302, allocations: 1.267 MB / 0.5963 GB, free: 28.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/1.302, allocations: 301.1 kB / 0.5966 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/1.306, allocations: 3.112 MB / 0.5997 GB, free: 24.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004699/1.31, allocations: 5.745 MB / 0.6053 GB, free: 18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009481/1.32, allocations: 9.427 MB / 0.6145 GB, free: 7.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.004e-05/1.32, allocations: 27.94 kB / 0.6145 GB, free: 7.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01702/1.337, allocations: 10.18 MB / 0.6244 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.193e-05/1.337, allocations: 46.34 kB / 0.6245 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.337, allocations: 87.94 kB / 0.6246 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/1.341, allocations: 1.382 MB / 0.6259 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006458/1.348, allocations: 1.462 MB / 0.6274 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/1.367, allocations: 10.91 MB / 0.638 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006322/1.374, allocations: 395.5 kB / 0.6384 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.375, allocations: 328 kB / 0.6387 GB, free: 14.43 MB / 462.1 MB 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.009916/1.385, allocations: 4.18 MB / 0.6428 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.386, allocations: 441.1 kB / 0.6432 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.401, allocations: 7.252 MB / 0.6503 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1806/1.582, allocations: 5.949 MB / 0.6561 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/1.582, allocations: 12.62 kB / 0.6561 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.062e-05/1.582, allocations: 20.39 kB / 0.6561 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.611, allocations: 13.78 MB / 0.6696 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.611, allocations: 6.453 kB / 0.6696 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/1.614, allocations: 0.7227 MB / 0.6703 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.617, allocations: 1.229 MB / 0.6715 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008059/1.618, allocations: 85.5 kB / 0.6716 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.632, allocations: 9.645 MB / 0.681 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.632, allocations: 17.84 kB / 0.681 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/1.648, allocations: 10.43 MB / 0.6912 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003103/1.651, allocations: 0.9756 MB / 0.6921 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.652, allocations: 67.47 kB / 0.6922 GB, free: 128.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.655, allocations: 257 kB / 0.6925 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008516/1.656, allocations: 293.1 kB / 0.6927 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.656, allocations: 114 kB / 0.6928 GB, free: 128.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004015/1.66, allocations: 2.663 MB / 0.6954 GB, free: 126.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/1.66, allocations: 0 / 0.6954 GB, free: 126.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007344/1.668, allocations: 1.822 MB / 0.6972 GB, free: 124.4 MB / 462.1 MB 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.0009483/1.668, allocations: 259.6 kB / 0.6975 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01166/1.68, allocations: 7.547 MB / 0.7048 GB, free: 117.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.68, allocations: 0 / 0.7048 GB, free: 117.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006687/1.687, allocations: 3.352 MB / 0.7081 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/1.692, allocations: 0.97 MB / 0.7091 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03252/1.725, allocations: 19.04 MB / 0.7277 GB, free: 95.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007018/1.732, allocations: 6.614 MB / 0.7341 GB, free: 88.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005358/1.737, allocations: 2.219 MB / 0.7363 GB, free: 86.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.738, allocations: 352.4 kB / 0.7366 GB, free: 85.81 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/1.738, allocations: 0 / 0.7366 GB, free: 85.81 MB / 462.1 MB Notification: Performance of Templates: time 0.1033/1.842, allocations: 63.4 MB / 0.7985 GB, free: 22.39 MB / 462.1 MB " [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 -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/jenkins/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/jenkins/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: 8.303796205669641]