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.001317/0.001317, allocations: 116.2 kB / 21.94 MB, free: 20 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.001436/0.001436, allocations: 212.7 kB / 25.24 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.416/1.416, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 55.92 kB / 348.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01178/0.2827, allocations: 10.98 MB / 408.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008242/0.2909, allocations: 3.697 MB / 412.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2941, allocations: 79.09 kB / 412.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.2972, allocations: 0.8783 MB / 413.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003979/0.3012, allocations: 0.9203 MB / 414.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.3028, allocations: 476.9 kB / 414.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004953/0.3078, allocations: 2.964 MB / 417.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.3111, allocations: 1.526 MB / 419.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.3137, allocations: 1.404 MB / 420.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/0.3174, allocations: 1.795 MB / 422.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.3186, allocations: 372.7 kB / 422.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.3205, allocations: 482.7 kB / 423.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.3224, allocations: 1.094 MB / 424.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003659/0.3261, allocations: 1.672 MB / 425.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007447/0.3335, allocations: 4.904 MB / 430.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3335, allocations: 0 / 430.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3335, allocations: 0 / 430.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.3337, allocations: 3.938 kB / 430.8 MB, free: 2.039 MB / 334.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.00881/0.3425, allocations: 3.386 MB / 434.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3426, allocations: 8.031 kB / 434.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.3434, allocations: 358.8 kB / 434.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.3467, allocations: 1.631 MB / 436.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.3469, allocations: 189.4 kB / 436.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.3472, allocations: 247.9 kB / 436.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/0.353, allocations: 3.291 MB / 439.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.629e-05/0.3531, allocations: 7.891 kB / 439.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.3533, allocations: 104 kB / 440 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.3535, allocations: 120.9 kB / 440.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/0.3583, allocations: 2.744 MB / 442.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.3754, allocations: 10.24 MB / 453.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.3773, allocations: 1.07 MB / 454.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.3785, allocations: 0.6915 MB / 454.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.3787, allocations: 58.03 kB / 455 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3788, allocations: 47.56 kB / 455 MB, free: 9.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 2.564e-06/0.3788, allocations: 3.938 kB / 455 MB, free: 9.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01563/0.3944, allocations: 6.769 MB / 461.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3945, allocations: 64.41 kB / 461.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.3977, allocations: 1.793 MB / 463.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.3979, allocations: 45.7 kB / 463.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.3992, allocations: 1.314 MB / 465 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/0.3998, allocations: 444.3 kB / 465.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005114/0.4003, allocations: 299.4 kB / 465.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4004, allocations: 304.9 kB / 466 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4017, allocations: 0.773 MB / 466.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.4034, allocations: 1.297 MB / 468.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.4065, allocations: 2.219 MB / 470.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4065, allocations: 8 kB / 470.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004415/0.4109, allocations: 2.479 MB / 472.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.411, allocations: 15.98 kB / 472.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.411, allocations: 20.06 kB / 472.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.4116, allocations: 235.3 kB / 473.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4131, allocations: 419.3 kB / 473.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.4162, allocations: 3.027 MB / 476.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4177, allocations: 135.7 kB / 476.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4179, allocations: 75.98 kB / 476.7 MB, free: 2.773 MB / 382.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.001502/0.4194, allocations: 0.8174 MB / 477.5 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.4198, allocations: 194.7 kB / 477.7 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.4235, allocations: 2.031 MB / 479.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4235, allocations: 15.94 kB / 479.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.4235, allocations: 4 kB / 479.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.4235, allocations: 7.922 kB / 479.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009008/0.4325, allocations: 4.701 MB / 484.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4325, allocations: 0 / 484.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4336, allocations: 263.6 kB / 484.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005962/0.4342, allocations: 207.5 kB / 484.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4343, allocations: 31.92 kB / 485 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.4375, allocations: 3.008 MB / 488 MB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.4375, allocations: 12 kB / 488 MB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.4427, allocations: 3.128 MB / 491.1 MB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.444, allocations: 362.6 kB / 491.5 MB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005344/0.4446, allocations: 23.94 kB / 491.5 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.4458, allocations: 95.94 kB / 491.6 MB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.446, allocations: 84.83 kB / 491.7 MB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.8e-05/0.4461, allocations: 32 kB / 491.7 MB, free: 3.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002637/0.4487, allocations: 1.216 MB / 492.9 MB, free: 2.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4487, allocations: 0 / 492.9 MB, free: 2.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001986/0.4507, allocations: 495.9 kB / 493.4 MB, free: 1.66 MB / 398.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.0005023/0.4512, allocations: 190.8 kB / 493.6 MB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.4553, allocations: 2.11 MB / 495.7 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.4553, allocations: 8.125 kB / 495.7 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.4573, allocations: 1.118 MB / 496.8 MB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.4603, allocations: 0.4935 MB / 497.3 MB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.4706, allocations: 5.026 MB / 0.4906 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/0.4732, allocations: 1.97 MB / 0.4925 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007796/0.474, allocations: 147.4 kB / 0.4926 GB, free: 6.426 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.474, allocations: 0 / 0.4926 GB, free: 6.426 MB / 414.1 MB Notification: Performance of Templates: time 0.2889/0.7629, allocations: 83.13 MB / 0.5738 GB, free: 149.5 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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: 13.396635974058881]