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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 107.8 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 188 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001165, allocations: 47.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3065, allocations: 49.43 MB / 400.8 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02889/0.3354, allocations: 26.98 MB / 427.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.3569, allocations: 8.031 MB / 435.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007216/0.3642, allocations: 199.4 kB / 436 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02391/0.3881, allocations: 9.412 MB / 445.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0149/0.403, allocations: 3.373 MB / 448.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006556/0.4096, allocations: 1.816 MB / 450.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01887/0.4285, allocations: 12.13 MB / 462.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04929/0.4778, allocations: 24.38 MB / 487.1 MB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.4894, allocations: 6.468 MB / 493.5 MB, free: 11.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.5024, allocations: 7.168 MB / 0.489 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005996/0.5084, allocations: 1.844 MB / 0.4908 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008322/0.5168, allocations: 2.199 MB / 0.4929 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007439/0.5243, allocations: 3.601 MB / 0.4964 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01755/0.5418, allocations: 6.923 MB / 0.5032 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03599/0.5779, allocations: 24.75 MB / 0.5274 GB, free: 13.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.5779, allocations: 0 / 0.5274 GB, free: 13.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5779, allocations: 0 / 0.5274 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007913/0.5787, allocations: 0 / 0.5274 GB, free: 13.22 MB / 462.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.5245/1.103, allocations: 14.47 MB / 0.5415 GB, free: 115 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.103, allocations: 10.3 kB / 0.5415 GB, free: 115 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04559/1.149, allocations: 8.487 MB / 0.5498 GB, free: 112.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/1.164, allocations: 7.647 MB / 0.5573 GB, free: 107.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000576/1.164, allocations: 0.8052 MB / 0.558 GB, free: 107.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004077/1.168, allocations: 1.059 MB / 0.5591 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04383/1.212, allocations: 18.29 MB / 0.5769 GB, free: 88.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004271/1.213, allocations: 7.906 kB / 0.577 GB, free: 88.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003953/1.217, allocations: 451.3 kB / 0.5774 GB, free: 87.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005203/1.217, allocations: 0.6725 MB / 0.578 GB, free: 86.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/1.248, allocations: 17.54 MB / 0.5952 GB, free: 69.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09059/1.338, allocations: 58.06 MB / 0.6519 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03298/1.371, allocations: 37.48 MB / 0.6885 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007341/1.379, allocations: 4.099 MB / 0.6925 GB, free: 12.71 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/1.379, allocations: 200.9 kB / 0.6927 GB, free: 12.49 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/1.38, allocations: 82.62 kB / 0.6927 GB, free: 12.4 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 1.14e-05/1.38, allocations: 4 kB / 0.6927 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.05559/1.435, allocations: 21.44 MB / 0.7137 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/1.435, allocations: 103.5 kB / 0.7138 GB, free: 6.582 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008777/1.444, allocations: 4.171 MB / 0.7179 GB, free: 2.383 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.445, allocations: 109.7 kB / 0.718 GB, free: 2.27 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003522/1.449, allocations: 4.509 MB / 0.7224 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002464/1.451, allocations: 1.772 MB / 0.7241 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004178/1.455, allocations: 1.355 MB / 0.7254 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.456, allocations: 313 kB / 0.7257 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006238/1.462, allocations: 3.441 MB / 0.7291 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008723/1.471, allocations: 5.881 MB / 0.7348 GB, free: 15.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/1.486, allocations: 10.01 MB / 0.7446 GB, free: 4.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.954e-05/1.487, allocations: 28 kB / 0.7446 GB, free: 4.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2908/1.777, allocations: 10.94 MB / 0.7553 GB, free: 188.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/1.777, allocations: 35.22 kB / 0.7553 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.778, allocations: 81.69 kB / 0.7554 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003359/1.781, allocations: 1.445 MB / 0.7568 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/1.786, allocations: 1.612 MB / 0.7584 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.8, allocations: 11.48 MB / 0.7696 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/1.805, allocations: 411.8 kB / 0.77 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008981/1.806, allocations: 328.6 kB / 0.7703 GB, free: 182.6 MB / 0.545 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.006787/1.813, allocations: 4.16 MB / 0.7744 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.814, allocations: 474.8 kB / 0.7748 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.827, allocations: 8.48 MB / 0.7831 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009343/1.836, allocations: 7.088 MB / 0.79 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/1.836, allocations: 8 kB / 0.7901 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-05/1.836, allocations: 31.05 kB / 0.7901 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/1.864, allocations: 18.76 MB / 0.8084 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/1.864, allocations: 4.281 kB / 0.8084 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/1.868, allocations: 0.9401 MB / 0.8093 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/1.871, allocations: 1.301 MB / 0.8106 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006382/1.872, allocations: 112 kB / 0.8107 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/1.883, allocations: 10.17 MB / 0.8206 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.883, allocations: 4 kB / 0.8206 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.899, allocations: 12.28 MB / 0.8326 GB, free: 129.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/1.902, allocations: 1.159 MB / 0.8338 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008925/1.903, allocations: 92 kB / 0.8339 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/1.906, allocations: 275.8 kB / 0.8341 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006673/1.907, allocations: 348.3 kB / 0.8344 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/1.907, allocations: 148 kB / 0.8346 GB, free: 127.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003679/1.91, allocations: 2.815 MB / 0.8373 GB, free: 124.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.91, allocations: 4 kB / 0.8373 GB, free: 124.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006463/1.917, allocations: 1.936 MB / 0.8392 GB, free: 122.9 MB / 0.545 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.0009691/1.918, allocations: 308.4 kB / 0.8395 GB, free: 122.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.931, allocations: 8.742 MB / 0.8481 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.931, allocations: 0 / 0.8481 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007296/1.938, allocations: 4.189 MB / 0.8522 GB, free: 109.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005125/1.943, allocations: 1.121 MB / 0.8532 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.973, allocations: 19.17 MB / 0.872 GB, free: 89.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006611/1.98, allocations: 7.009 MB / 0.8788 GB, free: 82.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005637/1.986, allocations: 2.313 MB / 0.8811 GB, free: 79.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.987, allocations: 419.3 kB / 0.8815 GB, free: 79.44 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/1.987, allocations: 3.938 kB / 0.8815 GB, free: 79.43 MB / 0.545 GB Notification: Performance of Templates: time 0.3564/2.343, allocations: 79.13 MB / 0.9588 GB, free: 179.4 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) 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) Reference file matches