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.00264/0.00264, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002388/0.002388, allocations: 165.2 kB / 25.02 MB, free: 8.926 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 1.297/1.297, allocations: 158.6 MB / 186.8 MB, free: 2.918 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.1.|smee.is.2.|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.1.|smee.is.2.|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.323e-06/1.323e-06, allocations: 0 / 250.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.822e-05, allocations: 2.312 kB / 250.4 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01562/0.01565, allocations: 10.67 MB / 261.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008287/0.02394, allocations: 3.611 MB / 264.7 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.02564, allocations: 75.44 kB / 264.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.02811, allocations: 0.8149 MB / 265.6 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.03144, allocations: 0.9469 MB / 266.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.03288, allocations: 471.2 kB / 267 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004941/0.03782, allocations: 3.054 MB / 270 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/0.04158, allocations: 1.481 MB / 271.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.04571, allocations: 2.078 MB / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003602/0.04932, allocations: 1.641 MB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.05063, allocations: 372 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.05234, allocations: 467.8 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.0538, allocations: 1.134 MB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.0563, allocations: 1.154 MB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006796/0.0631, allocations: 4.966 MB / 283.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.0631, allocations: 0 / 283.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.06311, allocations: 3.938 kB / 283.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001479/0.06325, allocations: 4 kB / 283.3 MB, free: 6.578 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.009419/0.07267, allocations: 3.835 MB / 287.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.07271, allocations: 12.03 kB / 287.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.07409, allocations: 0.5496 MB / 287.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.07834, allocations: 1.574 MB / 289.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.0786, allocations: 189.4 kB / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007855/0.07938, allocations: 244.4 kB / 289.7 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008519/0.0879, allocations: 3.056 MB / 292.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.08803, allocations: 15.89 kB / 292.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005291/0.08856, allocations: 96 kB / 292.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.08876, allocations: 128.9 kB / 293 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0056/0.09436, allocations: 1.963 MB / 294.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.1191, allocations: 11.67 MB / 306.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1209, allocations: 0.6614 MB / 307.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.1219, allocations: 423 kB / 307.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.1222, allocations: 52.97 kB / 307.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.1223, allocations: 46.33 kB / 307.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 2.875e-06/0.1223, allocations: 0 / 307.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.0129/0.1352, allocations: 4.238 MB / 312 MB, free: 8.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1352, allocations: 64.41 kB / 312.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/0.1393, allocations: 1.95 MB / 314 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.1395, allocations: 45.7 kB / 314.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.141, allocations: 1.508 MB / 315.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00058/0.1416, allocations: 480.3 kB / 316.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006779/0.1422, allocations: 361.1 kB / 316.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1425, allocations: 480.8 kB / 316.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.1434, allocations: 371.8 kB / 317.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.1451, allocations: 1.164 MB / 318.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.1481, allocations: 1.688 MB / 320.1 MB, free: 176 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/0.1481, allocations: 7.938 kB / 320.1 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003922/0.152, allocations: 1.682 MB / 321.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.1521, allocations: 12 kB / 321.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/0.1521, allocations: 19.98 kB / 321.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.1527, allocations: 151.2 kB / 322 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.1544, allocations: 419.3 kB / 322.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.1579, allocations: 3.691 MB / 326.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.1594, allocations: 127.9 kB / 326.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.1596, allocations: 80.02 kB / 326.3 MB, free: 9.703 MB / 314.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 {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001515/0.1611, allocations: 0.6404 MB / 326.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005784/0.1617, allocations: 230.8 kB / 327.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.1647, allocations: 1.162 MB / 328.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.1647, allocations: 12 kB / 328.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1647, allocations: 0 / 328.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.1647, allocations: 7.969 kB / 328.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009052/0.1738, allocations: 3.85 MB / 332.2 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.1738, allocations: 8.031 kB / 332.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.175, allocations: 259.6 kB / 332.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/0.1755, allocations: 118.6 kB / 332.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.1756, allocations: 23.98 kB / 332.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.1792, allocations: 3.683 MB / 336.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.1792, allocations: 7.938 kB / 336.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.183, allocations: 1.725 MB / 338 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.1841, allocations: 330.5 kB / 338.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.1845, allocations: 24 kB / 338.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.1855, allocations: 91.88 kB / 338.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.1857, allocations: 88.89 kB / 338.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/0.1858, allocations: 32 kB / 338.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002118/0.1879, allocations: 1.106 MB / 339.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1879, allocations: 0 / 339.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001808/0.1897, allocations: 487.9 kB / 340.1 MB, free: 11.36 MB / 330.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 {(2,1,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.0004708/0.1902, allocations: 195 kB / 340.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.1939, allocations: 1.578 MB / 341.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1939, allocations: 0 / 341.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.1957, allocations: 0.9369 MB / 342.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.1981, allocations: 471.9 kB / 343.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/0.2069, allocations: 4.362 MB / 347.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.2089, allocations: 1.36 MB / 349 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00138/0.2102, allocations: 382.7 kB / 349.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.2107, allocations: 136.5 kB / 349.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2107, allocations: 0 / 349.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of Templates: time 0.1367/0.3474, allocations: 24.79 MB / 374.3 MB, free: 81.25 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.381626897025853]