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.001371/0.001371, allocations: 81.27 kB / 20.49 MB, free: 1.211 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.001568/0.001568, allocations: 168.6 kB / 23.75 MB, free: 4.23 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.445/1.445, allocations: 177.1 MB / 203.9 MB, free: 9.246 MB / 190.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: 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 0.001952/0.001952, allocations: 66.67 kB / 324.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09283, allocations: 53.39 MB / 378.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02762/0.1205, allocations: 23.21 MB / 401.4 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.1373, allocations: 7.837 MB / 409.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/0.1414, allocations: 238.8 kB / 409.5 MB, free: 340 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02209/0.1635, allocations: 9.212 MB / 418.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.1749, allocations: 3.373 MB / 422.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00515/0.18, allocations: 1.812 MB / 423.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01622/0.1962, allocations: 12.37 MB / 436.2 MB, free: 5.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02789/0.2241, allocations: 15.84 MB / 452.1 MB, free: 5.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01776/0.2419, allocations: 9.996 MB / 462.1 MB, free: 11.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.2544, allocations: 6.973 MB / 469.1 MB, free: 4.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003896/0.2583, allocations: 1.836 MB / 470.9 MB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005485/0.2638, allocations: 2.207 MB / 473.1 MB, free: 420 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1924/0.4562, allocations: 3.6 MB / 476.7 MB, free: 33.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01168/0.4679, allocations: 5.37 MB / 482.1 MB, free: 33.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02572/0.4936, allocations: 24.89 MB / 0.4951 GB, free: 25.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4936, allocations: 0 / 0.4951 GB, free: 25.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4936, allocations: 0 / 0.4951 GB, free: 25.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006684/0.4943, allocations: 3.094 kB / 0.4951 GB, free: 25.84 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04248/0.5367, allocations: 14.66 MB / 0.5094 GB, free: 16.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5368, allocations: 12.55 kB / 0.5094 GB, free: 16.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04762/0.5844, allocations: 8.452 MB / 0.5177 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01832/0.6027, allocations: 7.813 MB / 0.5253 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009004/0.6036, allocations: 0.8063 MB / 0.5261 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005113/0.6087, allocations: 1.056 MB / 0.5271 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04855/0.6573, allocations: 18.54 MB / 0.5452 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004918/0.6578, allocations: 19.94 kB / 0.5452 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0037/0.6615, allocations: 444.8 kB / 0.5457 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008934/0.6624, allocations: 0.6709 MB / 0.5463 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04347/0.7058, allocations: 17.49 MB / 0.5634 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1185/0.8243, allocations: 50.36 MB / 0.6126 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02564/0.8499, allocations: 12.65 MB / 0.6249 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007715/0.8577, allocations: 3.737 MB / 0.6286 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.8583, allocations: 124 kB / 0.6287 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.946e-05/0.8584, allocations: 86.62 kB / 0.6288 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 8.706e-06/0.8584, allocations: 0 / 0.6288 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05443/0.9128, allocations: 21.24 MB / 0.6495 GB, free: 11.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.9129, allocations: 111.2 kB / 0.6496 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008562/0.9215, allocations: 3.999 MB / 0.6535 GB, free: 7.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009838/0.9225, allocations: 105.7 kB / 0.6536 GB, free: 7.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004222/0.9267, allocations: 4.689 MB / 0.6582 GB, free: 2.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002526/0.9292, allocations: 1.861 MB / 0.66 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004159/0.9334, allocations: 1.374 MB / 0.6614 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9335, allocations: 305.1 kB / 0.6617 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006555/0.9401, allocations: 3.434 MB / 0.665 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009131/0.9492, allocations: 5.9 MB / 0.6708 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2128/1.162, allocations: 10.01 MB / 0.6806 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.717e-05/1.162, allocations: 24.62 kB / 0.6806 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0174/1.179, allocations: 10.89 MB / 0.6912 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.18, allocations: 39.09 kB / 0.6913 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/1.18, allocations: 77.44 kB / 0.6913 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/1.185, allocations: 1.366 MB / 0.6927 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009138/1.194, allocations: 1.628 MB / 0.6942 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/1.216, allocations: 10.92 MB / 0.7049 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007327/1.223, allocations: 410.1 kB / 0.7053 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.225, allocations: 336.9 kB / 0.7056 GB, free: 177.4 MB / 0.5606 GB 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.009848/1.235, allocations: 4.165 MB / 0.7097 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.236, allocations: 480.5 kB / 0.7101 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.251, allocations: 8.383 MB / 0.7183 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00949/1.261, allocations: 7.034 MB / 0.7252 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/1.261, allocations: 12 kB / 0.7252 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-05/1.261, allocations: 26.34 kB / 0.7252 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/1.289, allocations: 16.13 MB / 0.741 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.289, allocations: 0 / 0.741 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003381/1.293, allocations: 0.9447 MB / 0.7419 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/1.295, allocations: 1.234 MB / 0.7431 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.296, allocations: 120 kB / 0.7432 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.307, allocations: 9.645 MB / 0.7527 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.307, allocations: 0 / 0.7527 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.323, allocations: 12.22 MB / 0.7646 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/1.325, allocations: 1.089 MB / 0.7656 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006956/1.326, allocations: 95.98 kB / 0.7657 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.328, allocations: 263.8 kB / 0.766 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/1.329, allocations: 380.2 kB / 0.7664 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/1.329, allocations: 156 kB / 0.7665 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003229/1.333, allocations: 2.575 MB / 0.769 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.333, allocations: 4 kB / 0.769 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005801/1.338, allocations: 1.916 MB / 0.7709 GB, free: 118.8 MB / 0.5606 GB 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.0006583/1.339, allocations: 304.9 kB / 0.7712 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.35, allocations: 8.37 MB / 0.7794 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.35, allocations: 0 / 0.7794 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00565/1.356, allocations: 3.882 MB / 0.7831 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004506/1.361, allocations: 1.019 MB / 0.7841 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/1.389, allocations: 19.48 MB / 0.8032 GB, free: 85.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007594/1.396, allocations: 6.588 MB / 0.8096 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005497/1.402, allocations: 2.288 MB / 0.8118 GB, free: 76.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.403, allocations: 432.4 kB / 0.8122 GB, free: 76.26 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.403, allocations: 0 / 0.8122 GB, free: 76.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.1052/1.508, allocations: 71.94 MB / 0.8825 GB, free: 4.965 MB / 0.5606 GB " [Timeout remaining time 658] 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.523431999608874]