Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 87.89 kB / 16.31 MB, free: 6.457 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.001525/0.001525, allocations: 183.9 kB / 17.21 MB, free: 6.32 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.431/1.431, allocations: 223.3 MB / 241.2 MB, free: 5.262 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 8.75 kB / 300.8 MB, free: 5.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 50.43 MB / 351.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01174/0.1662, allocations: 7.956 MB / 359.2 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007152/0.1734, allocations: 2.954 MB / 362.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.1744, allocations: 39.81 kB / 362.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.1761, allocations: 0.5322 MB / 362.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1779, allocations: 0.5943 MB / 363.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.1787, allocations: 215.6 kB / 363.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.1818, allocations: 2.156 MB / 365.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.1836, allocations: 0.9724 MB / 366.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1849, allocations: 0.708 MB / 367.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.1865, allocations: 0.9573 MB / 368.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.1868, allocations: 100 kB / 368.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.1873, allocations: 167.9 kB / 368.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000746/0.1881, allocations: 0.5334 MB / 369.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.1886, allocations: 392.8 kB / 369.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.1915, allocations: 2.489 MB / 372 MB, free: 6.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1915, allocations: 0 / 372 MB, free: 6.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1915, allocations: 0 / 372 MB, free: 6.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.1916, allocations: 0 / 372 MB, free: 6.566 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004645/0.1962, allocations: 1.954 MB / 373.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1963, allocations: 8.031 kB / 374 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.1971, allocations: 229.5 kB / 374.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.1999, allocations: 1.141 MB / 375.3 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.2001, allocations: 115.1 kB / 375.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.2004, allocations: 156 kB / 375.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.2053, allocations: 1.996 MB / 377.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.465e-05/0.2053, allocations: 7.906 kB / 377.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.2056, allocations: 63.98 kB / 377.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.2057, allocations: 74.92 kB / 377.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/0.2099, allocations: 1.639 MB / 379.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009198/0.2191, allocations: 6.971 MB / 386.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.2198, allocations: 439.9 kB / 386.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2202, allocations: 268.2 kB / 387 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.2204, allocations: 117.5 kB / 387.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2204, allocations: 35 kB / 387.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.265e-06/0.2204, allocations: 0 / 387.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006318/0.2268, allocations: 3.308 MB / 390.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002155/0.2289, allocations: 2.154 MB / 392.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.231, allocations: 1.6 MB / 394.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.231, allocations: 33.7 kB / 394.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.2318, allocations: 1.026 MB / 395.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.2319, allocations: 244.8 kB / 395.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.232, allocations: 32 kB / 395.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2322, allocations: 369.9 kB / 395.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.2329, allocations: 0.5114 MB / 396.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.2342, allocations: 1.461 MB / 397.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2353, allocations: 0.8047 MB / 398.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.2353, allocations: 12 kB / 398.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003267/0.2386, allocations: 2.137 MB / 400.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.2387, allocations: 28.89 kB / 400.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.2387, allocations: 32 kB / 400.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.2392, allocations: 230.4 kB / 401.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2403, allocations: 399.2 kB / 401.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.2419, allocations: 1.706 MB / 403.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.2431, allocations: 139.4 kB / 403.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.2433, allocations: 99.98 kB / 403.5 MB, free: 5.629 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.2443, allocations: 0.5944 MB / 404.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.2446, allocations: 154.1 kB / 404.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.2465, allocations: 1.098 MB / 405.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2465, allocations: 4 kB / 405.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2465, allocations: 4 kB / 405.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.2465, allocations: 3.984 kB / 405.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.2514, allocations: 3.386 MB / 408.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.2514, allocations: 8.656 kB / 408.7 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.2519, allocations: 111.8 kB / 408.8 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006051/0.2525, allocations: 230.3 kB / 409 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.2525, allocations: 20 kB / 409.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.2561, allocations: 3.694 MB / 412.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001919/0.258, allocations: 2.01 MB / 414.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.2605, allocations: 1.73 MB / 416.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/0.2613, allocations: 311.2 kB / 416.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.2614, allocations: 19.98 kB / 416.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.262, allocations: 47.95 kB / 416.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.2622, allocations: 63.81 kB / 416.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.2622, allocations: 27.98 kB / 417 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00166/0.2639, allocations: 1.051 MB / 418 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2639, allocations: 0 / 418 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001649/0.2656, allocations: 384 kB / 418.4 MB, free: 5.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000288/0.2659, allocations: 151 kB / 418.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.2684, allocations: 1.59 MB / 420.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2684, allocations: 0 / 420.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.2696, allocations: 0.8518 MB / 421 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.2715, allocations: 394.7 kB / 421.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/0.4534, allocations: 3.686 MB / 425 MB, free: 62.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.4544, allocations: 1.47 MB / 426.5 MB, free: 61.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001247/0.4557, allocations: 348.6 kB / 426.9 MB, free: 61.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.456, allocations: 118.8 kB / 427 MB, free: 61.81 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.456, allocations: 3.969 kB / 427 MB, free: 61.81 MB / 350.1 MB Notification: Performance of Templates: time 0.03516/0.4911, allocations: 18.83 MB / 445.8 MB, free: 54.41 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches