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.001583/0.001583, allocations: 85.67 kB / 21.43 MB, free: 296 kB / 14.72 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.001643/0.001643, allocations: 163.6 kB / 24.7 MB, free: 3.547 MB / 14.72 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.328/1.328, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.418e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01295/0.01298, allocations: 9.598 MB / 308.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.02035, allocations: 3.486 MB / 312.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.02202, allocations: 75.44 kB / 312.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.02431, allocations: 0.8111 MB / 312.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.02745, allocations: 0.939 MB / 313.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.02865, allocations: 467.2 kB / 314.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.03292, allocations: 3.066 MB / 317.4 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.03536, allocations: 1.481 MB / 318.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.03869, allocations: 2.047 MB / 320.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.04143, allocations: 1.52 MB / 322.5 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.04219, allocations: 372 kB / 322.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.04325, allocations: 471.8 kB / 323.3 MB, free: 248 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1608/0.2041, allocations: 1.11 MB / 324.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.2059, allocations: 1.135 MB / 325.5 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005738/0.2116, allocations: 4.938 MB / 330.5 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2116, allocations: 3.469 kB / 330.5 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2116, allocations: 4.562 kB / 330.5 MB, free: 19.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001545/0.2118, allocations: 1.75 kB / 330.5 MB, free: 19.01 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007887/0.2197, allocations: 3.359 MB / 333.8 MB, free: 17.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.2197, allocations: 9 kB / 333.8 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.2208, allocations: 352.2 kB / 334.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.2236, allocations: 1.636 MB / 335.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.2238, allocations: 191 kB / 336 MB, free: 16.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.2241, allocations: 248.7 kB / 336.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005792/0.2299, allocations: 3.36 MB / 339.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.851e-05/0.23, allocations: 9.984 kB / 339.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.2303, allocations: 108.5 kB / 339.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.2304, allocations: 122.3 kB / 339.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004675/0.2351, allocations: 2.738 MB / 342.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.2482, allocations: 9.069 MB / 351.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.2496, allocations: 1.062 MB / 352.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009816/0.2506, allocations: 0.6931 MB / 353.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.2508, allocations: 52.27 kB / 353.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2509, allocations: 41.91 kB / 353.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=97): time 3.817e-06/0.2509, allocations: 0 / 353.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=122): time 0.01392/0.2648, allocations: 6.756 MB / 360.3 MB, free: 488 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.2648, allocations: 64.41 kB / 360.3 MB, free: 412 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.2675, allocations: 1.64 MB / 362 MB, free: 14.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.2676, allocations: 48.42 kB / 362 MB, free: 14.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.2687, allocations: 1.328 MB / 363.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/0.2692, allocations: 437.2 kB / 363.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000529/0.2697, allocations: 299.4 kB / 364 MB, free: 12.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2699, allocations: 301.1 kB / 364.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.2712, allocations: 0.7724 MB / 365.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.273, allocations: 1.303 MB / 366.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.2762, allocations: 2.207 MB / 368.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.2763, allocations: 8 kB / 368.6 MB, free: 7.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004566/0.2808, allocations: 2.468 MB / 371.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.2808, allocations: 15.98 kB / 371.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.2809, allocations: 20.75 kB / 371.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006771/0.2815, allocations: 235.3 kB / 371.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.2831, allocations: 418.8 kB / 371.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.2862, allocations: 2.98 MB / 374.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.2878, allocations: 135.8 kB / 374.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.2879, allocations: 68.06 kB / 375 MB, free: 1.277 MB / 318.1 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.001825/0.2898, allocations: 0.8177 MB / 375.8 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.2902, allocations: 182.8 kB / 375.9 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.294, allocations: 2.02 MB / 378 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.294, allocations: 12 kB / 378 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.294, allocations: 0 / 378 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.294, allocations: 7.969 kB / 378 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/0.3027, allocations: 4.106 MB / 382.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3027, allocations: 4.062 kB / 382.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.3038, allocations: 266.5 kB / 382.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005729/0.3044, allocations: 201.3 kB / 382.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.3045, allocations: 24 kB / 382.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.3075, allocations: 2.958 MB / 385.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3076, allocations: 7.938 kB / 385.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005121/0.3127, allocations: 3.112 MB / 388.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.3138, allocations: 346.4 kB / 389 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.3141, allocations: 16 kB / 389 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.315, allocations: 91.88 kB / 389.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.3152, allocations: 88.83 kB / 389.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.3153, allocations: 32 kB / 389.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001871/0.3172, allocations: 1.098 MB / 390.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3172, allocations: 2.844 kB / 390.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001766/0.319, allocations: 487.9 kB / 390.8 MB, free: 1.18 MB / 334.1 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.0004584/0.3194, allocations: 191.2 kB / 391 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.3233, allocations: 2.115 MB / 393.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.3233, allocations: 0 / 393.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.3252, allocations: 1.123 MB / 394.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.3276, allocations: 448.7 kB / 394.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/0.3367, allocations: 4.848 MB / 399.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.3385, allocations: 1.45 MB / 401 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001452/0.34, allocations: 490.7 kB / 401.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.3404, allocations: 132.5 kB / 401.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3404, allocations: 4 kB / 401.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Templates: time 0.04751/0.3879, allocations: 24.7 MB / 426.3 MB, free: 13.69 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] 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.161517094820738]