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.0009486/0.0009486, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001013/0.001013, allocations: 170.5 kB / 25.7 MB, free: 8.414 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.9382/0.9382, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.763e-06/1.763e-06, allocations: 0 / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.196e-05, allocations: 10.25 kB / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01124/0.01126, allocations: 10.52 MB / 262.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.01787, allocations: 3.727 MB / 265.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/0.01877, allocations: 79.44 kB / 265.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.02004, allocations: 0.8343 MB / 266.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.02154, allocations: 0.9546 MB / 267.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.02214, allocations: 467.2 kB / 268.2 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.02411, allocations: 3.05 MB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.02538, allocations: 1.524 MB / 272.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.0274, allocations: 2.468 MB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.02877, allocations: 1.493 MB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.02914, allocations: 356 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.02968, allocations: 459.8 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006202/0.0303, allocations: 1.056 MB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008566/0.03116, allocations: 1.103 MB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.0332, allocations: 2.608 MB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.03321, allocations: 0 / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03321, allocations: 0 / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.03325, allocations: 0 / 282.3 MB, free: 8.312 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.002873/0.03612, allocations: 3.091 MB / 285.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.03615, allocations: 8.031 kB / 285.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.03677, allocations: 444.6 kB / 285.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.03817, allocations: 1.198 MB / 287 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.03828, allocations: 185.4 kB / 287.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.03851, allocations: 252.3 kB / 287.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.0404, allocations: 1.866 MB / 289.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.04045, allocations: 3.953 kB / 289.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.04059, allocations: 108 kB / 289.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.588e-05/0.04068, allocations: 120.9 kB / 289.5 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.04172, allocations: 0.7472 MB / 290.3 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009048/0.05077, allocations: 6.914 MB / 297.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.05145, allocations: 0.5062 MB / 297.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.05179, allocations: 264.5 kB / 297.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.05196, allocations: 52.97 kB / 298 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.05199, allocations: 43.56 kB / 298 MB, free: 7.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 4.428e-06/0.05199, allocations: 3.984 kB / 298 MB, free: 7.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.005815/0.05781, allocations: 3.005 MB / 301 MB, free: 4.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.05784, allocations: 68.34 kB / 301.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.05878, allocations: 1.176 MB / 302.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.05884, allocations: 45.7 kB / 302.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/0.05934, allocations: 1.097 MB / 303.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.0596, allocations: 448.2 kB / 303.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.05988, allocations: 275.3 kB / 304.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.05994, allocations: 309.1 kB / 304.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.06019, allocations: 174.8 kB / 304.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.06062, allocations: 0.6835 MB / 305.3 MB, free: 348 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.06148, allocations: 1.056 MB / 306.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.06149, allocations: 4 kB / 306.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00128/0.06277, allocations: 1.038 MB / 307.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.06279, allocations: 15.94 kB / 307.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.06281, allocations: 16.56 kB / 307.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.06307, allocations: 123.8 kB / 307.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.06386, allocations: 383.4 kB / 307.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.06514, allocations: 2.423 MB / 310.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.06586, allocations: 71.92 kB / 310.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.06593, allocations: 59.98 kB / 310.5 MB, free: 10.7 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.0005346/0.06647, allocations: 212.1 kB / 310.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.06669, allocations: 147.7 kB / 310.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.06771, allocations: 0.7592 MB / 311.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.06772, allocations: 12 kB / 311.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.06772, allocations: 0 / 311.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.06773, allocations: 7.969 kB / 311.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.07076, allocations: 2.128 MB / 313.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.07077, allocations: 3.938 kB / 313.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.07152, allocations: 219.7 kB / 313.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/0.07188, allocations: 157 kB / 314.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.07195, allocations: 16 kB / 314.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.07341, allocations: 2.411 MB / 316.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.07342, allocations: 0 / 316.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.07508, allocations: 1.117 MB / 317.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.07556, allocations: 222.7 kB / 317.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.07571, allocations: 24 kB / 317.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.07617, allocations: 35.98 kB / 317.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.07633, allocations: 84.72 kB / 318 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/0.07639, allocations: 27.98 kB / 318 MB, free: 2.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007539/0.07714, allocations: 0.5722 MB / 318.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07714, allocations: 32 / 318.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00156/0.0787, allocations: 471.9 kB / 319.1 MB, free: 1.719 MB / 298.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.0003545/0.07906, allocations: 168.1 kB / 319.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.08065, allocations: 0.9853 MB / 320.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-05/0.08069, allocations: 21.81 kB / 320.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.08144, allocations: 0.5941 MB / 320.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.08303, allocations: 451.4 kB / 321.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.08989, allocations: 4.07 MB / 325.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.0905, allocations: 0.5675 MB / 325.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008839/0.09138, allocations: 247 kB / 326.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000927/0.09231, allocations: 451 kB / 326.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of SimCode: time 1.764e-06/0.09231, allocations: 0 / 326.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of Templates: time 0.0471/0.1394, allocations: 24.77 MB / 351.4 MB, free: 1.23 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 -s gbode -gbm=radauIIA3 -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.205666835885495]