Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.4 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.066e-05, allocations: 6.312 kB / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1765/0.1766, allocations: 26.25 MB / 293.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.1953, allocations: 7.97 MB / 301.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00721/0.2025, allocations: 235.3 kB / 301.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02281/0.2253, allocations: 9.986 MB / 311.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.2398, allocations: 3.463 MB / 315.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.2457, allocations: 1.829 MB / 317.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01631/0.262, allocations: 12.65 MB / 329.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03716/0.2992, allocations: 15.9 MB / 345.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0226/0.3218, allocations: 9.802 MB / 355.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01485/0.3366, allocations: 6.936 MB / 362.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005636/0.3423, allocations: 1.836 MB / 364.2 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008392/0.3507, allocations: 2.202 MB / 366.4 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006689/0.3573, allocations: 3.737 MB / 370.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01222/0.3696, allocations: 4.686 MB / 374.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03807/0.4076, allocations: 25.25 MB / 400.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4076, allocations: 0 / 400.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4076, allocations: 0 / 400.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006939/0.4083, allocations: 0 / 400.1 MB, free: 5.895 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.05511/0.4634, allocations: 16.75 MB / 416.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/0.4635, allocations: 16.86 kB / 416.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05604/0.5195, allocations: 10.47 MB / 427.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02335/0.5429, allocations: 7.409 MB / 434.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/0.5441, allocations: 0.8067 MB / 435.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005353/0.5494, allocations: 1.062 MB / 436.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3203/0.8697, allocations: 18.68 MB / 455.3 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000654/0.8704, allocations: 19.78 kB / 455.3 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004476/0.8749, allocations: 448.9 kB / 455.7 MB, free: 101.3 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006989/0.8756, allocations: 0.6677 MB / 456.4 MB, free: 101.2 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03564/0.9112, allocations: 15.45 MB / 471.9 MB, free: 91.5 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1327/1.044, allocations: 105.7 MB / 0.564 GB, free: 13.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02734/1.071, allocations: 11.91 MB / 0.5757 GB, free: 3.816 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007277/1.079, allocations: 3.162 MB / 0.5787 GB, free: 0.6328 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/1.079, allocations: 128 kB / 0.5789 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/1.079, allocations: 93.44 kB / 0.579 GB, free: 408 kB / 410.8 MB Notification: Performance of pre-optimization done (n=518): time 7.974e-06/1.079, allocations: 3.219 kB / 0.579 GB, free: 408 kB / 410.8 MB Notification: Performance of matching and sorting (n=524): time 0.2608/1.34, allocations: 18.47 MB / 0.597 GB, free: 113.1 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.34, allocations: 107.9 kB / 0.5971 GB, free: 113 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009301/1.349, allocations: 5.705 MB / 0.6027 GB, free: 112.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009931/1.35, allocations: 111 kB / 0.6028 GB, free: 112.6 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003099/1.354, allocations: 5.223 MB / 0.6079 GB, free: 110.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00209/1.356, allocations: 2.045 MB / 0.6099 GB, free: 109.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002431/1.358, allocations: 1.766 MB / 0.6116 GB, free: 108.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/1.358, allocations: 488.1 kB / 0.6121 GB, free: 108.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/1.362, allocations: 2.734 MB / 0.6147 GB, free: 107.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/1.368, allocations: 6.666 MB / 0.6212 GB, free: 101.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.38, allocations: 10.7 MB / 0.6317 GB, free: 94.38 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001575/1.38, allocations: 25.03 kB / 0.6317 GB, free: 94.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01966/1.4, allocations: 9.899 MB / 0.6414 GB, free: 89.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.4, allocations: 40.06 kB / 0.6414 GB, free: 89.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/1.4, allocations: 80 kB / 0.6415 GB, free: 89.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/1.405, allocations: 1.615 MB / 0.6431 GB, free: 87.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/1.411, allocations: 1.607 MB / 0.6446 GB, free: 86.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.426, allocations: 11.59 MB / 0.656 GB, free: 74.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/1.432, allocations: 412.9 kB / 0.6564 GB, free: 74.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001579/1.433, allocations: 332.7 kB / 0.6567 GB, free: 73.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.00798/1.441, allocations: 3.793 MB / 0.6604 GB, free: 70.09 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.443, allocations: 0.6337 MB / 0.661 GB, free: 69.46 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.455, allocations: 7.149 MB / 0.668 GB, free: 62.21 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009106/1.464, allocations: 5.865 MB / 0.6737 GB, free: 56.26 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/1.464, allocations: 12 kB / 0.6737 GB, free: 56.25 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/1.464, allocations: 27.89 kB / 0.6737 GB, free: 56.22 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03556/1.499, allocations: 20.42 MB / 0.6937 GB, free: 35.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.499, allocations: 0 / 0.6937 GB, free: 35.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003672/1.503, allocations: 0.9322 MB / 0.6946 GB, free: 34.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/1.507, allocations: 1.462 MB / 0.696 GB, free: 33.2 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008177/1.508, allocations: 112 kB / 0.6961 GB, free: 33.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/1.52, allocations: 10.35 MB / 0.7062 GB, free: 22.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.52, allocations: 7.5 kB / 0.7062 GB, free: 22.64 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/1.535, allocations: 10.03 MB / 0.716 GB, free: 12.39 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003372/1.538, allocations: 0.9963 MB / 0.717 GB, free: 11.39 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.539, allocations: 92 kB / 0.7171 GB, free: 11.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.542, allocations: 267.7 kB / 0.7174 GB, free: 11.04 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/1.544, allocations: 368.3 kB / 0.7177 GB, free: 10.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003582/1.544, allocations: 144 kB / 0.7178 GB, free: 10.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005859/1.55, allocations: 2.934 MB / 0.7207 GB, free: 7.617 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.55, allocations: 0 / 0.7207 GB, free: 7.617 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008645/1.558, allocations: 1.914 MB / 0.7226 GB, free: 5.703 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.00121/1.56, allocations: 313.8 kB / 0.7229 GB, free: 5.395 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.186/1.746, allocations: 7.884 MB / 0.7306 GB, free: 102.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.746, allocations: 1.094 kB / 0.7306 GB, free: 102.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00894/1.755, allocations: 3.739 MB / 0.7342 GB, free: 101.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006791/1.761, allocations: 1.029 MB / 0.7352 GB, free: 101.6 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/1.795, allocations: 18.08 MB / 0.7529 GB, free: 95.91 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008705/1.804, allocations: 5.992 MB / 0.7588 GB, free: 95.37 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.007339/1.811, allocations: 1.937 MB / 0.7606 GB, free: 95.13 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.813, allocations: 409.7 kB / 0.761 GB, free: 95.12 MB / 410.8 MB Notification: Performance of SimCode: time 2.855e-06/1.813, allocations: 0 / 0.761 GB, free: 95.12 MB / 410.8 MB Notification: Performance of Templates: time 0.1113/1.924, allocations: 70.65 MB / 0.83 GB, free: 39.36 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.395950612961315]