Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001411, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.001625/0.001625, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 51.94 kB / 280.7 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 46.64 MB / 327.3 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01097/0.1213, allocations: 8.957 MB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.1282, allocations: 3.199 MB / 339.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.1298, allocations: 39.81 kB / 339.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.1321, allocations: 0.6794 MB / 340.2 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.1355, allocations: 0.695 MB / 340.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1366, allocations: 335.5 kB / 341.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.1393, allocations: 2.094 MB / 343.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.1411, allocations: 1.402 MB / 344.7 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1424, allocations: 0.907 MB / 345.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.1439, allocations: 1.129 MB / 346.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.1442, allocations: 232 kB / 346.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006109/0.1448, allocations: 319.8 kB / 347.3 MB, free: 368 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.1455, allocations: 0.6739 MB / 347.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.1467, allocations: 1.081 MB / 349 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.1497, allocations: 3.072 MB / 352.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1497, allocations: 0 / 352.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1497, allocations: 0 / 352.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.841e-05/0.1498, allocations: 0 / 352.1 MB, free: 11.52 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.004586/0.1544, allocations: 2.269 MB / 354.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1545, allocations: 12.03 kB / 354.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006411/0.1551, allocations: 226.5 kB / 354.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.157, allocations: 1.149 MB / 355.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1572, allocations: 115.5 kB / 355.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.1574, allocations: 163.8 kB / 356 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.1608, allocations: 2.004 MB / 358 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/0.1608, allocations: 4 kB / 358 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.161, allocations: 60 kB / 358.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-05/0.1611, allocations: 78.91 kB / 358.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.1638, allocations: 1.643 MB / 359.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.1743, allocations: 6.952 MB / 366.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008192/0.1751, allocations: 445 kB / 367.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.1755, allocations: 270 kB / 367.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.1757, allocations: 109.5 kB / 367.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.1758, allocations: 42.98 kB / 367.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.755e-06/0.1758, allocations: 0 / 367.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007552/0.1834, allocations: 3.278 MB / 370.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003056/0.1865, allocations: 2.346 MB / 373.2 MB, free: 5.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/0.1902, allocations: 1.619 MB / 374.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.1904, allocations: 33.7 kB / 374.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009557/0.1914, allocations: 1.018 MB / 375.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.1917, allocations: 236.8 kB / 376.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000584/0.1923, allocations: 323.2 kB / 376.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1925, allocations: 305.1 kB / 376.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.1935, allocations: 0.5114 MB / 377.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2171/0.4105, allocations: 1.469 MB / 378.7 MB, free: 50.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.4128, allocations: 2.141 MB / 380.9 MB, free: 48.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.4128, allocations: 9.594 kB / 380.9 MB, free: 48.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003372/0.4162, allocations: 2.161 MB / 383 MB, free: 48.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.4162, allocations: 18.59 kB / 383 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.4163, allocations: 35.03 kB / 383.1 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.4168, allocations: 224.1 kB / 383.3 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.418, allocations: 395.7 kB / 383.7 MB, free: 48.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.4194, allocations: 1.849 MB / 385.5 MB, free: 46.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4207, allocations: 139.4 kB / 385.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4208, allocations: 96.61 kB / 385.8 MB, free: 46.76 MB / 318.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 (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.0007911/0.4216, allocations: 0.5885 MB / 386.3 MB, free: 46.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.4219, allocations: 151 kB / 386.5 MB, free: 46.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.4237, allocations: 1.117 MB / 387.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4237, allocations: 5.656 kB / 387.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4237, allocations: 2.016 kB / 387.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4237, allocations: 3.141 kB / 387.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.4291, allocations: 3.389 MB / 391 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.4292, allocations: 6.156 kB / 391 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.4296, allocations: 112.6 kB / 391.1 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/0.4302, allocations: 227.6 kB / 391.3 MB, free: 44.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.4302, allocations: 18.92 kB / 391.4 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.4331, allocations: 4.068 MB / 395.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001453/0.4346, allocations: 2.174 MB / 397.6 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.4368, allocations: 1.746 MB / 399.4 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.4374, allocations: 305.6 kB / 399.7 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.4376, allocations: 20.64 kB / 399.7 MB, free: 37.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.4382, allocations: 47.08 kB / 399.7 MB, free: 37.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.4384, allocations: 66.56 kB / 399.8 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.4385, allocations: 27.58 kB / 399.8 MB, free: 37.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.4401, allocations: 1.066 MB / 400.9 MB, free: 37.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4401, allocations: 0 / 400.9 MB, free: 37.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001905/0.442, allocations: 384.9 kB / 401.3 MB, free: 37.47 MB / 318.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 (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.0003234/0.4424, allocations: 175.8 kB / 401.4 MB, free: 37.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.4447, allocations: 1.704 MB / 403.1 MB, free: 36.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4447, allocations: 7.703 kB / 403.1 MB, free: 36.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.4457, allocations: 0.8479 MB / 404 MB, free: 35.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.4473, allocations: 416.8 kB / 404.4 MB, free: 35.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.4507, allocations: 3.206 MB / 407.6 MB, free: 32.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.4514, allocations: 1.477 MB / 409.1 MB, free: 31.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008817/0.4523, allocations: 346 kB / 409.4 MB, free: 30.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.4525, allocations: 115.4 kB / 409.5 MB, free: 30.86 MB / 318.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4526, allocations: 4 kB / 409.5 MB, free: 30.85 MB / 318.1 MB Notification: Performance of Templates: time 0.03059/0.4831, allocations: 20.4 MB / 429.9 MB, free: 10.46 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches