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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.002439/0.002439, allocations: 149.3 kB / 24.26 MB, free: 180 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.527/1.527, allocations: 173.3 MB / 200.8 MB, free: 9.312 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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,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=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.617e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01684/0.01687, allocations: 7.998 MB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008525/0.0254, allocations: 2.96 MB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.02656, allocations: 55.62 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.02912, allocations: 0.6522 MB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.032, allocations: 0.7723 MB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.03309, allocations: 327.4 kB / 280.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003808/0.0369, allocations: 2.182 MB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.03882, allocations: 0.8087 MB / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.04163, allocations: 1.356 MB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.04395, allocations: 0.9623 MB / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.04446, allocations: 228 kB / 285.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009132/0.04538, allocations: 319.8 kB / 285.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.04657, allocations: 0.7089 MB / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.04802, allocations: 0.7404 MB / 287.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1352/0.1833, allocations: 3.131 MB / 290.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1833, allocations: 0.7812 kB / 290.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1833, allocations: 0 / 290.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.1834, allocations: 3.656 kB / 290.5 MB, free: 19.72 MB / 266.7 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.004814/0.1882, allocations: 2.222 MB / 292.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1882, allocations: 10.33 kB / 292.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.1891, allocations: 372.6 kB / 293.1 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.1911, allocations: 1.201 MB / 294.3 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.1912, allocations: 113 kB / 294.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.1914, allocations: 156 kB / 294.6 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.1946, allocations: 2.085 MB / 296.7 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.1947, allocations: 6.578 kB / 296.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.1948, allocations: 69.89 kB / 296.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-05/0.1949, allocations: 76.34 kB / 296.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.1975, allocations: 1.644 MB / 298.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007948/0.2054, allocations: 6.172 MB / 304.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.2061, allocations: 418.9 kB / 305 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2064, allocations: 250.7 kB / 305.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.2065, allocations: 38 kB / 305.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2066, allocations: 38.59 kB / 305.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.2066, allocations: 0 / 305.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.006156/0.2127, allocations: 3.182 MB / 308.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001739/0.2145, allocations: 2.199 MB / 310.7 MB, free: 11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.2162, allocations: 1.516 MB / 312.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.2162, allocations: 36.86 kB / 312.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.2167, allocations: 1.047 MB / 313.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2169, allocations: 243.8 kB / 313.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.2172, allocations: 329.2 kB / 313.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.2173, allocations: 301.1 kB / 314.2 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000621/0.2179, allocations: 0.5153 MB / 314.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.2188, allocations: 1.465 MB / 316.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.2204, allocations: 2.139 MB / 318.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.2204, allocations: 12 kB / 318.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002687/0.2231, allocations: 2.241 MB / 320.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.2232, allocations: 27.22 kB / 320.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.2232, allocations: 32 kB / 320.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.2237, allocations: 228 kB / 320.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.2247, allocations: 396.5 kB / 321.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.2264, allocations: 1.731 MB / 323 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.2277, allocations: 139.7 kB / 323.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2278, allocations: 92 kB / 323.2 MB, free: 14.76 MB / 282.7 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009445/0.2287, allocations: 0.5898 MB / 323.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.2291, allocations: 171 kB / 323.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.2312, allocations: 1.094 MB / 325 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2312, allocations: 8 kB / 325 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2312, allocations: 0 / 325 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.2313, allocations: 7.922 kB / 325 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.2371, allocations: 3.068 MB / 328.1 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.2371, allocations: 4 kB / 328.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.2376, allocations: 114.3 kB / 328.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008302/0.2384, allocations: 253.5 kB / 328.5 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.2385, allocations: 19.98 kB / 328.5 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/0.2433, allocations: 3.798 MB / 332.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002462/0.2458, allocations: 2.041 MB / 334.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.249, allocations: 1.75 MB / 336.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/0.2498, allocations: 219 kB / 336.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.2499, allocations: 28 kB / 336.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.2506, allocations: 55.31 kB / 336.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.2508, allocations: 63.12 kB / 336.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.2508, allocations: 26.17 kB / 336.5 MB, free: 1.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001723/0.2525, allocations: 0.9615 MB / 337.4 MB, free: 116 kB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2525, allocations: 0 / 337.4 MB, free: 116 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002144/0.2547, allocations: 384 kB / 337.8 MB, free: 15.73 MB / 298.7 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004484/0.2551, allocations: 174.3 kB / 338 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.258, allocations: 1.417 MB / 339.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.2581, allocations: 4 kB / 339.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.2594, allocations: 0.7514 MB / 340.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.2614, allocations: 367.6 kB / 340.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/0.2674, allocations: 3.21 MB / 343.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.2686, allocations: 0.8847 MB / 344.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.2696, allocations: 336.9 kB / 344.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.2699, allocations: 108.5 kB / 345 MB, free: 8.344 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2699, allocations: 4 kB / 345 MB, free: 8.34 MB / 298.7 MB Notification: Performance of Templates: time 0.03798/0.3079, allocations: 19.57 MB / 364.6 MB, free: 5.129 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.084418701939285]