Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 80.94 kB / 23 MB, free: 1.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 171.5 kB / 26.39 MB, free: 8.004 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8734/0.8734, allocations: 158.6 MB / 188.3 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.[0-9,]+.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smee.is.[0-9,]+.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.902e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01017/0.01019, allocations: 10.46 MB / 262.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.01524, allocations: 3.599 MB / 266.3 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.01606, allocations: 79.44 kB / 266.4 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.0173, allocations: 0.8149 MB / 267.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.01892, allocations: 0.9506 MB / 268.2 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.01952, allocations: 471.2 kB / 268.6 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.02148, allocations: 3.047 MB / 271.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.02276, allocations: 1.493 MB / 273.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.02469, allocations: 2.495 MB / 275.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.02582, allocations: 1.5 MB / 277.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.0261, allocations: 360 kB / 277.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.02657, allocations: 451.9 kB / 278 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.02717, allocations: 1.059 MB / 279 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007213/0.02789, allocations: 1.107 MB / 280.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.02968, allocations: 2.608 MB / 282.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.02968, allocations: 0 / 282.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02968, allocations: 0 / 282.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.0297, allocations: 4 kB / 282.7 MB, free: 8.582 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.003007/0.03271, allocations: 3.362 MB / 286.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.03274, allocations: 12.03 kB / 286.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006136/0.03335, allocations: 0.5496 MB / 286.7 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.03475, allocations: 1.532 MB / 288.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.03485, allocations: 185.4 kB / 288.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.03509, allocations: 256.3 kB / 288.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.03692, allocations: 1.826 MB / 290.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/0.03697, allocations: 11.92 kB / 290.5 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.03711, allocations: 104 kB / 290.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.651e-05/0.0372, allocations: 124.9 kB / 290.7 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.0382, allocations: 0.7478 MB / 291.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007076/0.04528, allocations: 8.437 MB / 299.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.04593, allocations: 0.4979 MB / 300.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.0463, allocations: 291.2 kB / 300.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.04642, allocations: 48.97 kB / 300.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.04644, allocations: 42.39 kB / 300.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 2.525e-06/0.04644, allocations: 4 kB / 300.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.004395/0.05084, allocations: 2.886 MB / 303.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.05087, allocations: 64.41 kB / 303.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.05195, allocations: 1.394 MB / 305.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.05201, allocations: 45.7 kB / 305.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007437/0.05276, allocations: 1.422 MB / 306.6 MB, free: 16 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.05303, allocations: 456.3 kB / 307 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.05333, allocations: 305 kB / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.05344, allocations: 484.7 kB / 307.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.05368, allocations: 187.8 kB / 308 MB, free: 14.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.05427, allocations: 0.9297 MB / 308.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.05529, allocations: 1.278 MB / 310.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.0553, allocations: 4 kB / 310.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001478/0.05678, allocations: 1.3 MB / 311.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.0568, allocations: 15.98 kB / 311.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.05681, allocations: 16 kB / 311.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.05706, allocations: 122.6 kB / 311.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.05775, allocations: 359.4 kB / 312 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.0593, allocations: 3.5 MB / 315.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.0598, allocations: 64.06 kB / 315.5 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.05988, allocations: 59.98 kB / 315.6 MB, free: 6.055 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003916/0.06027, allocations: 264 kB / 315.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.06048, allocations: 214.9 kB / 316.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.06155, allocations: 0.9122 MB / 317 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.06155, allocations: 15.94 kB / 317 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.06156, allocations: 4 kB / 317 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.06157, allocations: 7.922 kB / 317 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.06432, allocations: 2.452 MB / 319.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.06432, allocations: 4 kB / 319.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.0648, allocations: 208 kB / 319.7 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.065, allocations: 102.7 kB / 319.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.06504, allocations: 24 kB / 319.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.06632, allocations: 3.485 MB / 323.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.06632, allocations: 7.938 kB / 323.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.06762, allocations: 1.327 MB / 324.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.06795, allocations: 274.7 kB / 324.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.06806, allocations: 24 kB / 324.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.06841, allocations: 35.98 kB / 324.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.0685, allocations: 80.78 kB / 325 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.06854, allocations: 27.98 kB / 325 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005462/0.06909, allocations: 0.7427 MB / 325.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06909, allocations: 4.031 kB / 325.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000852/0.06994, allocations: 463.9 kB / 326.2 MB, free: 10.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.07019, allocations: 186.9 kB / 326.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.0713, allocations: 1.168 MB / 327.6 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.0713, allocations: 0 / 327.6 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.07188, allocations: 0.7521 MB / 328.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.0729, allocations: 456.9 kB / 328.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.07698, allocations: 4.124 MB / 332.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.07743, allocations: 0.6416 MB / 333.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005158/0.07795, allocations: 247 kB / 333.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/0.07866, allocations: 0.498 MB / 334.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.07866, allocations: 0 / 334.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of Templates: time 0.1235/0.2022, allocations: 25.14 MB / 359.4 MB, free: 89.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.421763952355832]